openrndr / org.openrndr.color / ColorLSHUVa

ColorLSHUVa

data class ColorLSHUVa (source)

Constructors

<init>

ColorLSHUVa(l: Double, s: Double, h: Double, alpha: Double = 1.0, ref: ColorXYZa = ColorXYZa.NEUTRAL)

Properties

alpha

val alpha: Double

h

val h: Double

l

val l: Double

ref

val ref: ColorXYZa

s

val s: Double

saturated

val saturated: ColorLSHUVa

Functions

scaleHue

fun scaleHue(scale: Double): ColorLSHUVa

scaleLuminosity

fun scaleLuminosity(scale: Double): ColorLSHUVa

scaleSaturation

fun scaleSaturation(scale: Double): ColorLSHUVa

shiftHue

fun shiftHue(shift: Double): ColorLSHUVa

shiftLuminosity

fun shiftLuminosity(shift: Double): ColorLSHUVa

shiftSaturation

fun shiftSaturation(shift: Double): ColorLSHUVa

toLCHUVa

fun toLCHUVa(): ColorLCHUVa

toRGBa

fun toRGBa(): ColorRGBa

Companion Object Functions

fromLCHUVa

fun fromLCHUVa(lcha: ColorLCHUVa): ColorLSHUVa