ColorXYZa

constructor(x: Double, y: Double, z: Double, alpha: Double = 1.0)(source)

Parameters

x

first chromaticity coordinate, mix of the three CIE RGB curves chosen to be nonnegative

y

luminance of the color, in a range of 0.0 (darkest) to 1.0 (brightest)

z

second chromaticity coordinate, quasi-equal to blue

alpha

alpha as a percentage between 0.0 and 1.0