xyza
CIE 1931 XYZ colors

Next:<xyza> ( x y z alpha -- xyza )


Vocabulary
colors.xyz

Class description
The class of CIE 1931 XYZ colors with an alpha channel.

Definition


Methods







M: xyza >rgba
[
[ x>> ] [ y>> ] [ z>> ] tri 3 load-locals
-2 get-local 3.2404542 * -1 get-local -1.5371385 *
0 get-local -0.4985314 * + + -2 get-local -0.969266 *
-1 get-local 1.8760108 * 0 get-local 0.041556 * + +
-2 get-local 0.0556434 * -1 get-local -0.2040259 *
0 get-local 1.0572252 * + +
[ srgb-compand 0.0 1.0 clamp ] tri@ 3 drop-locals
] [ alpha>> ] bi <rgba> ;