GetBValue macro

The GetBValue macro retrieves an intensity value for the blue component of a red, green, blue (RGB) value.

Syntax


BYTE GetBValue(
  DWORD rgb
);

Parameters

rgb

Specifies an RGB color value.

Return value

The return value is the intensity of the blue component of the specified RGB color.

Remarks

The intensity value is in the range 0 through 255.

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

Colors Overview
Color Macros
GetGValue
GetRValue
PALETTEINDEX
PALETTERGB
RGB

 

 

Build date: 6/12/2013

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.