COLORREF
COLORREF is a data type used in the Microsoft Windows API to represent a color. It is a 32-bit unsigned integer where the lower 24 bits specify the intensity of red, green, and blue. The most significant byte is not used. The color components are arranged as follows: a blue byte, a green byte, and a red byte. The red component is in the least significant byte, followed by green, and then blue in the most significant byte.
A COLORREF value can be created using the RGB macro, which takes three integer arguments representing the
The GetRValue, GetGValue, and GetBValue macros can be used to extract the individual red, green, and blue