[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_HighlightColor (Text Highlight Colors)

This simple type specifies the possible values for highlighting colors which may be applied as a background behind the contents of a text run.

[Example: Consider a run within a paragraph which has yellow text highlighting using the highlight element. This formatting is specified using the following WordprocessingML:

<w:rPr>
<w:highlight w:val="yellow" />
</w:rPr>

The resulting run would have yellow highlighting visible over its contents. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

black (Black Highlighting Color)

Specifies that the text highlighting color for this run shall be black.

 

The hexadecimal RGB value for this setting shall be 000000.

blue (Blue Highlighting Color)

Specifies that the text highlighting color for this run shall be blue.

 

The hexadecimal RGB value for this setting shall be 0000FF.

cyan (Cyan Highlighting Color)

Specifies that the text highlighting color for this run shall be cyan.

 

The hexadecimal RGB value for this setting shall be 00FFFF.

darkBlue (Dark Blue Highlighting Color)

Specifies that the text highlighting color for this run shall be dark blue.

 

The hexadecimal RGB value for this setting shall be 000080.

darkCyan (Dark Cyan Highlighting Color)

Specifies that the text highlighting color for this run shall be dark cyan.

 

The hexadecimal RGB value for this setting shall be 008080.

darkGray (Dark Gray Highlighting Color)

Specifies that the text highlighting color for this run shall be dark gray.

 

The hexadecimal RGB value for this setting shall be 808080.

darkGreen (Dark Green Highlighting Color)

Specifies that the text highlighting color for this run shall be dark green.

 

The hexadecimal RGB value for this setting shall be 008000.

darkMagenta (Dark Magenta Highlighting Color)

Specifies that the text highlighting color for this run shall be dark magenta.

 

The hexadecimal RGB value for this setting shall be 800080.

darkRed (Dark Red Highlighting Color)

Specifies that the text highlighting color for this run shall be dark red.

 

The hexadecimal RGB value for this setting shall be 800000.

darkYellow (Dark Yellow Highlighting Color)

Specifies that the text highlighting color for this run shall be dark cyan.

 

The hexadecimal RGB value for this setting shall be 808000.

green (Green Highlighting Color)

Specifies that the text highlighting color for this run shall be green.

 

The hexadecimal RGB value for this setting shall be 00FF00.

lightGray (Light Gray Highlighting Color)

Specifies that the text highlighting color for this run shall be light gray.

 

The hexadecimal RGB value for this setting shall be C0C0C0.

magenta (Magenta Highlighting Color)

Specifies that the text highlighting color for this run shall be magenta.

 

The hexadecimal RGB value for this setting shall be FF00FF.

none (No Text Highlighting)

Specifies that this text run shall have no text highlighting applied to its contents.

red (Red Highlighting Color)

Specifies that the text highlighting color for this run shall be red.

 

The hexadecimal RGB value for this setting shall be FF0000.

white (White Highlighting Color)

Specifies that the text highlighting color for this run shall be white.

 

The hexadecimal RGB value for this setting shall be FFFFFF.

yellow (Yellow Highlighting Color)

Specifies that the text highlighting color for this run shall be yellow.

 

The hexadecimal RGB value for this setting shall be FFFF00.

 

Referenced By

highlight@val2.3.2.13)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_HighlightColor">

   <restriction base="xsd:string">

   <enumeration value="black"/>

   <enumeration value="blue"/>

   <enumeration value="cyan"/>

   <enumeration value="green"/>

   <enumeration value="magenta"/>

   <enumeration value="red"/>

   <enumeration value="yellow"/>

   <enumeration value="white"/>

   <enumeration value="darkBlue"/>

   <enumeration value="darkCyan"/>

   <enumeration value="darkGreen"/>

   <enumeration value="darkMagenta"/>

   <enumeration value="darkRed"/>

   <enumeration value="darkYellow"/>

   <enumeration value="darkGray"/>

   <enumeration value="lightGray"/>

   <enumeration value="none"/>

   </restriction>

</simpleType>