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 load-local load-local
load-local 0 get-local 3.2404542 *
-1 get-local -1.5371385 * -2 get-local -0.4985314 * + +
0 get-local -0.969266 * -1 get-local 1.8760108 *
-2 get-local 0.041556 * + + 0 get-local 0.0556434 *
-1 get-local -0.2040259 * -2 get-local 1.0572252 * + +
[ srgb-compand 0.0 1.0 clamp ] 3 drop-locals tri@
] [ alpha>> ] bi <rgba> ;