GetBValue

Syntax

BYTE GetBValue(rgbColor)

This macro extracts the blue value from an RGB color value.

Parameter Type/Description  

rgbColor DWORD Specifies a red, a green, and a blue color field, each specifying the intensity of the given color.  

Return Value

The return value specifies a byte that contains the blue value of the rgbColor parameter.

Comments

The value 0FFH corresponds to the maximum intensity value for a single byte; 000H corresponds to the minimum intensity value for a single byte.