2.4.11 RgbColorOrPaletteEntry

Specifies the red, green, and blue values of a color or an index into a color palette, based on the value of an associated OleColorType.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

GreenAndBlueOrPaletteIndex

Red

GreenAndBlueOrPaletteIndex (2 bytes): An unsigned integer that specifies the green and blue values of a color or an index into a color palette. If the value of the associated OleColorType is PaletteEntry or SystemPalette, or if the value is set to Default and the client application determines that the color is a PaletteEntry, this field is an index into the corresponding color palette. Otherwise, the low-order byte specifies the blue value of a color and the high-order byte specifies the green value of the color.

Red (1 byte): An unsigned integer that specifies the red value of a color. If the value of the associated OleColorType is PaletteEntry or SystemPalette, or if the value is set to Default and the client application determines that the color is a PaletteEntry, this field MUST be set to zero.