Function toXyzD65
Converts CIE 1976 L*a*b* D50 coordinates to XYZ D65.
The D50 -> D65 linear Bradford adaptation is explicit in this conversion.
Parameters
| Name | Description |
|---|---|
| lab | CIELAB coordinates referenced to D50. |
Returns
CIE XYZ coordinates referenced to D65.
Example
const source = XyzD65d(
0.21661,
0.14602,
0.59452
);
const back = source .toCieLabD50 .toXyzD65;
assert(back .x > 0.2165 && back .x < 0.2168);
assert(back .y > 0.1459 && back .y < 0.1462);
assert(back .z > 0.5943 && back .z < 0.5948);