Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RGBQUAD

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

ADD
Show:
© 2015 Microsoft