COLORREF

Microsoft Windows COLORREF (Windef.h) is a 32-bit value used to specify an RGB color.

Syntax

When specifying an explicit RGB color, COLORREF has the following hexadecimal form:

    0x00bbggrr

where the low-order byte (rr) contains a value for the relative intensity of red, the second byte (gg) contains a value for green, and the third byte (bb) contains a value for blue. The high-order byte must be zero. The maximum value for a single byte is 0xFF.

Remarks

Complete documentation for the COLORREF Microsoft Windows value can be found at
http://msdn.microsoft.com/



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com