xyY to XYZ
Given an xyY color whose Y component is in the nominal range [0.0, 1.0]:
Implementation Notes:
Watch out for the case where
y
= 0. In that case, you may want to set
X
=
Y
=
Z
= 0.
The output XYZ values are in the nominal range [0.0, 1.0].