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.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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.