|
| LCHab () |
| Default constructor initializes LCHab to black (0,0,0)
|
|
| LCHab (const double l, const double c, const double h) |
| Construct LCHab from component values.
|
|
| LCHab (const Lab &lab) |
| Construct LCHab from Lab color.
|
|
| LCHab (const RGB &rgb) |
| Construct LCHab from RGB color.
|
|
| LCHab (const HSL &hsl) |
| Construct LCHab from HSL color.
|
|
| LCHab (const XYZ &xyz, const std::array< double, 3 > &white_point={ 0.95047, 1, 1.08883 }) |
| Construct LCHab from XYZ color.
|
|
bool | operator== (const LCHab &other) const |
| equality operator for LCHab colors
|
|
bool | operator!= (const LCHab &other) const |
| inequality operator for LCHab colors
|
|
double | l () const |
| Get lightness [0,100].
|
|
double | c () const |
| Get chroma [0,∞)
|
|
double | h () const |
| Get hue in degrees [0,360)
|
|
LCHab color space representation (CIE L*C*h)
A cylindrical representation of Lab color space:
- L: lightness [0,100]
- C: chroma [0,∞)
- H: hue in degrees [0,360)
Provides a more intuitive way to represent colors in Lab space.
Definition at line 514 of file colors.h.