<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. [ An application might store the color's index in a system color palette using this means. ]
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)
<... color="red" ... >
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.
< ... color="#5f2726" ... >
A color palette entry is specified using the name of the color in the palette.
<... color="buttonFace [67]" ... >
This simple type's contents are a restriction of the XML Schema string datatype.
Referenced By |
|---|
|
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_ColorType">
<restriction base="xsd:string"/>
</simpleType>