<comp> (Complement)

This element specifies that the color rendered should be the complement of its input color with the complement being defined as such. Two colors are called complementary if, when mixed they produce a shade of grey. For instance, the complement of red which is RGB (255, 0, 0) is cyan which is RGB (0, 255, 255).

Primary colors and secondary colors are typically paired in this way:

  • red and cyan (where cyan is the mixture of green and blue)

  • green and magenta (where magenta is the mixture of red and blue)

  • blue and yellow (where yellow is the mixture of red and green)

example:

The following represents the complement of red:

<a:solidFill>
  <a:srgbClr val="FF0000">
    <a:comp/>
  </a:srgbClr>
</a:solidFill>

Parent Elements

<hslClr>5.1.2.2.13); <prstClr>5.1.2.2.22); <schemeClr>5.1.2.2.29); <scrgbClr>5.1.2.2.30); <srgbClr>5.1.2.2.32); <sysClr>5.1.2.2.33)

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_ComplementTransform"/>