Crgb
Describes a 32-bits RGB color.
Friend classes
Cxyz.
Inherits from
Cvector3DT<float>
Methods
Name | Description |
---|---|
get | Gets the RGB color in a single number. 1st 8 most-significative bits = red; 2nd 8 most-significative bits = green; 3rd 8 most-significative bits = blue. |
gammaCorrectionRec709 | Â |
invGammaCorrectionRec709 | Â |
toRGB8 | Returns the color in 8-bits. |
toRGB16 | Returns the color in 16-bits. |
toXYZ | Returns the color in XYZ color space. |
toHSV | Â |
toHsv | Â |
toYIQ | Â |
toReflectanceSpectrum | Â |
clip | Clips all values to the range 0.0-1.0. |
constrain | --TODO-- |
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â