|
| DIN99d () |
| Default constructor initializes DIN99d to black (0,0,0)
|
|
| DIN99d (const double l, const double a, const double b) |
| Construct DIN99d from component values.
|
|
| DIN99d (const RGB &rgb) |
| Construct DIN99d from RGB color.
|
|
| DIN99d (const HSL &hsl) |
| Construct DIN99d from HSL color.
|
|
| DIN99d (const Lab &lab) |
| Construct DIN99d from Lab color.
|
|
| DIN99d (const XYZ &xyz, const std::array< double, 3 > &white_point={ 0.95047, 1, 1.08883 }) |
| Construct DIN99d from XYZ color.
|
|
bool | operator== (const DIN99d &other) const |
| equality operator for DIN99d colors
|
|
bool | operator!= (const DIN99d &other) const |
| inequality operator for DIN99d colors
|
|
double | l () const |
| Get lightness component.
|
|
double | a () const |
| Get green-red component.
|
|
double | b () const |
| Get blue-yellow component.
|
|
DIN99d color space representation.
DIN99d color space representation.
Perceptually uniform color space optimized for color difference calculations, especially for small differences. Used internally by qualpal for palette generation.
- l: Lightness [0, 100]
- a: Green-red axis [-128, 127]
- b: Blue-yellow axis [-128, 127]
Provides conversion constructors for RGB, HSL, Lab, and XYZ. Most conversions use the D65 reference white point by default.
- See also
- Lab, RGB, HSL, XYZ for conversions.
Definition at line 404 of file colors.h.