Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RGBQUAD structure

The RGBQUAD structure describes a color consisting of relative intensities of red, green, and blue.

Syntax


typedef struct tagRGBQUAD {
  BYTE rgbBlue;
  BYTE rgbGreen;
  BYTE rgbRed;
  BYTE rgbReserved;
} RGBQUAD;

Members

rgbBlue

The intensity of blue in the color.

rgbGreen

The intensity of green in the color.

rgbRed

The intensity of red in the color.

rgbReserved

This member is reserved and must be zero.

Remarks

The bmiColors member of the BITMAPINFO structure consists of an array of RGBQUAD structures.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

See also

Bitmaps Overview
Bitmap Structures
BITMAPINFO
CreateDIBitmap
CreateDIBSection
GetDIBits
SetDIBits
SetDIBitsToDevice
StretchDIBits

 

 

Community Additions

Show:
© 2014 Microsoft