SilverScreen Solid Modeler

BLUE_COLOR

BLUE_COLOR

Previous topic Next topic  

BLUE_COLOR

Previous topic Next topic JavaScript is required for the print function  

 

SilverScreenAPI

 

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

MAKE_RGB, RED_COLOR, GREEN_COLOR