Partager via


RGBTRIPLE (Compact 2013)

3/28/2014

This structure describes a color consisting of relative intensities of red, green, and blue. The bmciColors member of the BITMAPCOREINFO structure consists of an array of RGBTRIPLE structures.

Syntax

typedef struct tagRGBTRIPLE { 
  BYTE rgbtBlue; 
  BYTE rgbtGreen; 
  BYTE rgbtRed; 
} RGBTRIPLE;

Members

  • 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.

Requirements

Header

windows.h

See Also

Reference

GDI Structures
BITMAPCOREHEADER
BITMAPCOREINFO