[Table of Contents] [docx version]

VML Reference Material - VML

ST_ColorType (Color Type)

This simple type specifies a color. Colors are specified in one of three ways - named color, hexadecimal RGB or color palette entry. An optional index may be stored in square brackets following the color and a space. [Rationale: An application might store the color's index in a system color palette using this means. end rationale]

A named color is specified using the name of the color. The following named colors are supported:

Black (#000000)

Silver (#C0C0C0)

Gray (#808080)

White (#FFFFFF)

Maroon (#800000)

Red (#FF0000)

Purple (#800080)

Fuchsia (#FF00FF)

Green (#008000)

Lime (#00FF00)

Olive (#808000)

Yellow (#FFFF00)

Navy (#000080)

Blue (#0000FF)

Teal (#008080)

Aqua (#00FFFF)

[Example:

<... color="red" ... >

end example]

Hexadecimal RGB is specified using a hash symbol (#) followed by six hexadecimal characters, where each pair represents the red, green and blue component of the color.

[Example:

< ... color="#5f2726" ... >

end example]

A color palette entry is specified using the name of the color in the palette.

[Example:

<... color="buttonFace [67]" ... >

end example]

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

Referenced By

arc@chromakey6.1.2.1); arc@fillcolor6.1.2.1); arc@strokecolor6.1.2.1); background@fillcolor6.1.2.2); curve@chromakey6.1.2.3); curve@fillcolor6.1.2.3); curve@strokecolor6.1.2.3); fill@color6.1.2.5); fill@color26.1.2.5); group@fillcolor6.1.2.7); image@chromakey6.1.2.10); image@fillcolor6.1.2.10); image@strokecolor6.1.2.10); imagedata@chromakey6.1.2.11); imagedata@embosscolor6.1.2.11); imagedata@recolortarget6.1.2.11); line@chromakey6.1.2.12); line@fillcolor6.1.2.12); line@strokecolor6.1.2.12); oval@chromakey6.1.2.13); oval@fillcolor6.1.2.13); oval@strokecolor6.1.2.13); polyline@chromakey6.1.2.15); polyline@fillcolor6.1.2.15); polyline@strokecolor6.1.2.15); rect@chromakey6.1.2.16); rect@fillcolor6.1.2.16); rect@strokecolor6.1.2.16); roundrect@chromakey6.1.2.17); roundrect@fillcolor6.1.2.17); roundrect@strokecolor6.1.2.17); shadow@color6.1.2.18); shadow@color26.1.2.18); shape@chromakey6.1.2.19); shape@fillcolor6.1.2.19); shape@strokecolor6.1.2.19); shapetype@chromakey6.1.2.20); shapetype@fillcolor6.1.2.20); shapetype@strokecolor6.1.2.20); stroke@color6.1.2.21); stroke@color26.1.2.21)

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

<simpleType name="ST_ColorType">

   <restriction base="xsd:string"/>

</simpleType>