Struct CieLabD50
CIE 1976 L*a*b* coordinates referenced to D50.
struct CieLabD50(T)
if (is(T == float) || is(T == double));
Fields
| Name | Type | Description |
|---|---|---|
a
|
T | CIE 1976 opponent coordinate a*. |
b
|
T | CIE 1976 opponent coordinate b*. |
l
|
T | CIE 1976 lightness coordinate L*. |
Aliases
| Name | Description |
|---|---|
Scalar
|
Scalar component type. |
Example
const lab = CieLabD50d(50.0, 2.5, -4.0);
assert(lab .l == 50.0);
assert(lab .a == 2.5);
assert(lab .b == -4.0);