openrndr / org.openrndr.color / ColorLSHABa

ColorLSHABa

data class ColorLSHABa (source)

Constructors

<init>

ColorLSHABa(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: ColorLSHABa

Functions

scaleHue

fun scaleHue(scale: Double): ColorLSHABa

scaleLuminosity

fun scaleLuminosity(scale: Double): ColorLSHABa

scaleSaturation

fun scaleSaturation(scale: Double): ColorLSHABa

shiftHue

fun shiftHue(shift: Double): ColorLSHABa

shiftLuminosity

fun shiftLuminosity(shift: Double): ColorLSHABa

shiftSaturation

fun shiftSaturation(shift: Double): ColorLSHABa

toLCHABa

fun toLCHABa(): ColorLCHABa

toRGBa

fun toRGBa(): ColorRGBa

Companion Object Functions

fromLCHABa

fun fromLCHABa(lcha: ColorLCHABa): ColorLSHABa