openrndr / org.openrndr.color / ColorLABa

ColorLABa

class ColorLABa (source)

Constructors

<init>

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

Properties

a

val a: Double

alpha

val alpha: Double

b

val b: Double

l

val l: Double

ref

val ref: ColorXYZa

Functions

toHSLa

fun toHSLa(): ColorHSLa

toHSVa

fun toHSVa(): ColorHSVa

toLCHABa

fun toLCHABa(): ColorLCHABa

toLSHABa

fun toLSHABa(): ColorLSHABa

toLUVa

fun toLUVa(): ColorLUVa

toRGBa

fun toRGBa(): ColorRGBa

toXYZa

fun toXYZa(): ColorXYZa

Companion Object Functions

fromRGBa

fun fromRGBa(rgba: ColorRGBa, ref: ColorXYZa = ColorXYZa.NEUTRAL): ColorLABa

fromXYZa

fun fromXYZa(xyz: ColorXYZa, ref: ColorXYZa): ColorLABa