openrndr / org.openrndr.color / ColorLCHUVa

ColorLCHUVa

data class ColorLCHUVa (source)

Constructors

<init>

ColorLCHUVa(l: Double, c: Double, h: Double, alpha: Double = 1.0, ref: ColorXYZa = ColorXYZa.NEUTRAL)

Properties

alpha

val alpha: Double

c

val c: Double

h

val h: Double

l

val l: Double

ref

val ref: ColorXYZa

Functions

scaleChroma

fun scaleChroma(scale: Double): ColorLCHUVa

scaleHue

fun scaleHue(shift: Double): ColorLCHUVa

scaleLuminosity

fun scaleLuminosity(scale: Double): ColorLCHUVa

shiftChroma

fun shiftChroma(shift: Double): ColorLCHUVa

shiftHue

fun shiftHue(shift: Double): ColorLCHUVa

shiftLuminosity

fun shiftLuminosity(shift: Double): ColorLCHUVa

toLSHUVa

fun toLSHUVa(): ColorLSHUVa

toLUVa

fun toLUVa(): ColorLUVa

toRGBa

fun toRGBa(): ColorRGBa

Companion Object Functions

findMaxChroma

fun findMaxChroma(l: Double, h: Double, ref: ColorXYZa): Double

fromLUVa

fun fromLUVa(luva: ColorLUVa): ColorLCHUVa