Constructs a color.
CL_Colorf::CL_Colorf(); CL_Colorf::CL_Colorf( float r, float g, float b, float a = 1.0f); CL_Colorf::CL_Colorf( const float * array_rgba); CL_Colorf::CL_Colorf( unsigned char r, unsigned char g, unsigned char b, unsigned char a = 255); CL_Colorf::CL_Colorf( int r, int g, int b, int a = 255); CL_Colorf::CL_Colorf( const CL_Color & color); CL_Colorf::CL_Colorf( 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).