openrndr / org.openrndr.color / ColorXSLa

ColorXSLa

data class ColorXSLa (source)

Constructors

<init>

ColorXSLa(x: Double, s: Double, l: Double, alpha: Double)

Properties

alpha

val alpha: Double

l

val l: Double

s

val s: Double

x

val x: Double

Functions

mix

fun mix(other: ColorXSLa, x: Double): ColorXSLa

toHSLa

fun toHSLa(): ColorHSLa

toRGBa

fun toRGBa(): ColorRGBa

Companion Object Functions

fromHSLa

fun fromHSLa(hsla: ColorHSLa): ColorXSLa