openrndr / org.openrndr.color / ColorXSVa

ColorXSVa

data class ColorXSVa (source)

Constructors

<init>

ColorXSVa(x: Double, s: Double, v: Double, alpha: Double = 1.0)

Properties

alpha

val alpha: Double

s

val s: Double

v

val v: Double

x

val x: Double

Functions

mix

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

toHSVa

fun toHSVa(): ColorHSVa

toRGBa

fun toRGBa(): ColorRGBa

Companion Object Functions

fromHSVa

fun fromHSVa(hsva: ColorHSVa): ColorXSLa