The RGBTRIPLE data structure describes a color consisting of relative intensities of red, green, and blue. The bmciColors field of the BITMAPCOREINFO data structure consists of an array of RGBTRIPLE data structures.
typedef struct tagRGBTRIPLE {
BYTE rgbtBlue;
BYTE rgbtGreen;
BYTE rgbtRed;
} RGBTRIPLE;
The RGBTRIPLE structure contains the following fields:
| Field | Description | |
| rgbtBlue | Specifies the intensity of blue in the color. | |
| rgbtGreen | Specifies the intensity of green in the color. | |
| rgbtRed | Specifies the intensity of red in the color. |