Constructs a color.
CL_Colord::CL_Colord(); CL_Colord::CL_Colord( double r, double g, double b, double a = 1.0); CL_Colord::CL_Colord( const double * array_rgba); CL_Colord::CL_Colord( unsigned char r, unsigned char g, unsigned char b, unsigned char a = 255); CL_Colord::CL_Colord( const CL_Color & color); CL_Colord::CL_Colord( const CL_StringRef & hexstr);
Detailed description:
Color components are specified in the range 0 to 255.An alpha value of 0 means complete transparency, while 255 means completely opaque (solid).