2.2.7.6 Color Table
A color value in a web drawing can be specified as either a PtgColorRGB parse token or an unsigned long integer.
If a color value specified as an unsigned long integer is greater than or equal to zero and less than or equal to 23, the color-value of the specified color is specified by the following table.
Unsigned Long Integer |
Color-value |
---|---|
0 |
#000000 |
1 |
#FFFFFF |
2 |
#FF0000 |
3 |
#00FF00 |
4 |
#0000FF |
5 |
#FFFF00 |
6 |
#FF00FF |
7 |
#00FFFF |
8 |
#800000 |
9 |
#008000 |
10 |
#000080 |
11 |
#808000 |
12 |
#800080 |
13 |
#008080 |
14 |
#C0C0C0 |
15 |
#E6E6E6 |
16 |
#CDCDCD |
17 |
#B3B3B3 |
18 |
#9A9A9A |
19 |
#808080 |
20 |
#666666 |
21 |
#4D4D4D |
22 |
#333333 |
23 |
#1A1A1A |
If a color value specified as an unsigned long integer is greater than 23, the RGB value of the specified color is specified by a ColorEntry_Type child element of a Colors_Type child element of a VisioDocument element in a Document XML part. If the value of an IX attribute of a ColorEntry_Type element is equal to the specified unsigned long integer, the RGB value of the specified color is equal to the RGB attribute specified by the ColorEntry_Type element.