ColorCIE()

Summary

Creates a color based on its (x, y, Y) coordinates in the CIE chromaticity space.

Syntax

c = ColorCIE(real x, real y, real cap_y)

Argument Contents
x x-coordinate in the CIE chromaticity space
y y-coordinate in the CIE chromaticity space
cap_y Y-coordinate in the CIE chromaticity space

Returns

A color (red, green, blue, and alpha).

Notes

  • The CIE chromaticity space is a reversible linear transformation of the red-green-blue color space, which defines a color by its amounts of red, green and blue saturations.

  • Opacity can also be set with the alpha selector on a color; for more information, see Compound Variables.

See Also

Function Summary
ColorRGB() Creates a color based on the amounts of red, green and blue
ColorHSV() Creates a color based on hue, saturation and brightness
ColorHLS() Creates a color based on hue, lightness and saturation