2.2.8 COLORREF

Target namespace: http://schemas.microsoft.com/office/onenote/2009/internal/specific

Referenced by: FontColor, Highlight, NoteTagHighlightColor, NoteTagTextColor

The COLORREF structure is an unsigned integer that specifies an red-green-blue (RGB) color value. This value MUST be from "0x00000000" through "0x00FFFFFF", or equal to "0xFF000000". If the value is from "0x00000000" through "0x00FFFFFF", it specifies an RGB color value. If the value is "0xFF000000", it specifies an automatic color value. The following list describes the meaning of each byte of the integer.

Child Elements:

a: An unsigned byte that MUST be "0x00" or "0xFF". A value of "0xFF" indicates that the color is determined automatically and the subsequent three bytes MUST all be "0x00". A value of "0x00" indicates that the subsequent three bytes specify the color values to use.

b: An unsigned byte that specifies the relative intensity of blue.

g: An unsigned byte that specifies the relative intensity of green.

r: An unsigned byte that specifies the relative intensity of red.