ColorLABa

constructor(l: Double, a: Double, b: Double, alpha: Double = 1.0, ref: ColorXYZa = ColorXYZa.NEUTRAL)(source)

Parameters

l

lightness, between 0.0 (black) and 100.0 (white)

a

unbounded a* axis, relative to the green–red opponent colors, with negative values toward green and positive values toward red

b

unbounded b* axis, relative to the blue–yellow opponent colors, with negative values toward blue and positive values toward yellow

alpha

alpha as a percentage between 0.0 and 1.0

ref

reference white against which the color values are calculated