Color Scheme
The complex type CT_ColorScheme defines a set of colors for the theme. The set of colors consists of twelve color slots that can each hold a color of choice. The colors are organized in the following way:
Dark 1 (dk1) – This represents a dark color, usually defined as a system text color
Light 1 (lt1) – This represents a light color, usually defined as the system window color
Dark 2 (dk2) – This represents a second dark color for use
Light 2 (lt2) – This represents a second light color for use
Accents 1 through 6 (accent1 through accent6) – These are six colors which can be used as accent colors in the theme
Hyperlink (hlink) – The color of hyperlinks
Followed Hyperlink (folHlink) – The color of a followed hyperlink
These colors define the theme colors that objects can utilize within a document. When an object uses a theme color, the color of the object can change when the theme is changed, but will always map to accent 1 if that were the theme color used by the object. An example of theme colors defined and used can be seen in figure 2.
Figure 2: Sample colors defined and used for dark1/2, light1/2, and the six accent colors.
The complex type CT_ColorScheme is defined in the following manner:
<complexType name="CT_ColorScheme"> <sequence> <element name="dk1" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="lt1" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="dk2" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="lt2" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="accent1" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="accent2" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="accent3" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="accent4" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="accent5" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="accent6" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="hlink" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="folHlink" type="CT_Color" minOccurs="1" maxOccurs="1"/> <element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/> </sequence> <attribute name="name" type="xsd:string" use="required"/> </complexType>