|
||
int BLUE_COLOR ( RGB rgb )
RGB rgb; // An RGB data type
|
|
|
Synopsis |
#include "silver.h"
The BLUE_COLOR macro extracts the blue component from an RGB triple. It is a value between 0 and 255, where 0 represents no blue contribution and 255 represents full blue contribution.
|
|
Parameters |
rgb is a color from which the blue component is to be extracted
|
|
Return Value |
BLUE_COLOR returns an integer value between 0 and 255
|
|
See Also |
|