openrndr / org.openrndr.color / ColorLCHABa

ColorLCHABa

data class ColorLCHABa (source)

Constructors

<init>

ColorLCHABa(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): ColorLCHABa

scaleHue

fun scaleHue(scale: Double): ColorLCHABa

scaleLuminosity

fun scaleLuminosity(scale: Double): ColorLCHABa

shiftChroma

fun shiftChroma(shift: Double): ColorLCHABa

shiftHue

fun shiftHue(shift: Double): ColorLCHABa

shiftLuminosity

fun shiftLuminosity(shift: Double): ColorLCHABa

toLABa

fun toLABa(): ColorLABa

toLSHABa

fun toLSHABa(): ColorLSHABa

toRGBa

fun toRGBa(): ColorRGBa

toXYZa

fun toXYZa(): ColorXYZa

Companion Object Functions

findMaxChroma

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

fromLABa

fun fromLABa(laba: ColorLABa): ColorLCHABa