[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@chromakey (§6.1.2.1); arc@fillcolor (§6.1.2.1); arc@strokecolor (§6.1.2.1); background@fillcolor (§6.1.2.2); curve@chromakey (§6.1.2.3); curve@fillcolor (§6.1.2.3); curve@strokecolor (§6.1.2.3); fill@color (§6.1.2.5); fill@color2 (§6.1.2.5); group@fillcolor (§6.1.2.7); image@chromakey (§6.1.2.10); image@fillcolor (§6.1.2.10); image@strokecolor (§6.1.2.10); imagedata@chromakey (§6.1.2.11); imagedata@embosscolor (§6.1.2.11); imagedata@recolortarget (§6.1.2.11); line@chromakey (§6.1.2.12); line@fillcolor (§6.1.2.12); line@strokecolor (§6.1.2.12); oval@chromakey (§6.1.2.13); oval@fillcolor (§6.1.2.13); oval@strokecolor (§6.1.2.13); polyline@chromakey (§6.1.2.15); polyline@fillcolor (§6.1.2.15); polyline@strokecolor (§6.1.2.15); rect@chromakey (§6.1.2.16); rect@fillcolor (§6.1.2.16); rect@strokecolor (§6.1.2.16); roundrect@chromakey (§6.1.2.17); roundrect@fillcolor (§6.1.2.17); roundrect@strokecolor (§6.1.2.17); shadow@color (§6.1.2.18); shadow@color2 (§6.1.2.18); shape@chromakey (§6.1.2.19); shape@fillcolor (§6.1.2.19); shape@strokecolor (§6.1.2.19); shapetype@chromakey (§6.1.2.20); shapetype@fillcolor (§6.1.2.20); shapetype@strokecolor (§6.1.2.20); stroke@color (§6.1.2.21); stroke@color2 (§6.1.2.21) |
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_ColorType">
<restriction base="xsd:string"/>
</simpleType>