2.2.44 MSOCR

Referenced by: OfficeArtColorMRUContainer, OfficeArtSplitMenuColorContainer

The MSOCR record specifies either the RGB color or the scheme color index.


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

red

green

blue

A

B

unused2

red (1 byte): An unsigned byte that specifies the intensity of the red color channel. A value of 0x00 specifies no red color. A value of 0xFF specifies full red intensity.

green (1 byte): An unsigned byte that specifies the intensity of the green color channel. A value of 0x00 specifies no green color. A value of 0xFF specifies full green intensity.

blue (1 byte): An unsigned byte that specifies the intensity of the blue color channel. A value of 0x00 specifies no blue color. A value of 0xFF specifies full blue intensity.

A - unused1 (3 bits): A value that is undefined and MUST be ignored.

B - fSchemeIndex (1 bit): A bit that specifies whether the current color scheme will be used to determine the color. A value of 0x1 specifies that red is an index into the current scheme color table. If this value is 0x1, green and blue MUST be 0x00.

unused2 (4 bits): A value that is undefined and MUST be ignored.