openrndr / org.openrndr.color / ColorXYZa

ColorXYZa

data class ColorXYZa (source)

Constructors

<init>

ColorXYZa(x: Double, y: Double, z: Double, a: Double = 1.0)

Properties

a

val a: Double

minValue

val minValue: Double

x

val x: Double

y

val y: Double

z

val z: Double

Functions

toHSLa

fun toHSLa(): ColorHSLa

toHSVa

fun toHSVa(): ColorHSVa

toLABa

fun toLABa(ref: ColorXYZa): ColorLABa

toLUVa

fun toLUVa(ref: ColorXYZa): ColorLUVa

toRGBa

fun toRGBa(): ColorRGBa

Companion Object Properties

NEUTRAL

val NEUTRAL: ColorXYZa

SO10_A

val SO10_A: ColorXYZa

SO10_C

val SO10_C: ColorXYZa

SO10_D50

val SO10_D50: ColorXYZa

SO10_D60

val SO10_D60: ColorXYZa

SO10_D65

val SO10_D65: ColorXYZa

SO10_D75

val SO10_D75: ColorXYZa

SO10_F2

val SO10_F2: ColorXYZa

SO10_TL4

val SO10_TL4: ColorXYZa

SO10_UL3000

val SO10_UL3000: ColorXYZa

SO2_A

val SO2_A: ColorXYZa

SO2_C

val SO2_C: ColorXYZa

SO2_D50

val SO2_D50: ColorXYZa

SO2_D60

val SO2_D60: ColorXYZa

SO2_D65

val SO2_D65: ColorXYZa

SO2_D75

val SO2_D75: ColorXYZa

SO2_F2

val SO2_F2: ColorXYZa

SO2_TL4

val SO2_TL4: ColorXYZa

SO2_UL3000

val SO2_UL3000: ColorXYZa

Companion Object Functions

fromRGBa

fun fromRGBa(rgba: ColorRGBa): ColorXYZa