RGBQUAD

Version 3.0

RGB Color Structure

The RGBQUAD data structure describes a color consisting of relative intensities of red, green, and blue. The bmiColors field of the BITMAPINFO data structure consists of an array of RGBQUAD data structures.

typedef struct tagRGBQUAD {

BYTE rgbBlue;

BYTE rgbGreen;

BYTE rgbRed;

BYTE rgbReserved;

} RGBQUAD;

The RGBQUAD structure contains the following fields:

Field Description  
rgbBlue Specifies the intensity of blue in the color.  
rgbGreen Specifies the intensity of green in the color.  
rgbRed Specifies the intensity of red in the color.  
rgbReserved Is not used and must be set to zero.