ColorLSHUVa

data class ColorLSHUVa(l: Double, s: Double, h: Double, alpha: Double, ref: ColorXYZa)

Based on ColorLCHUVa, but instead tries to use a normalized chroma.

See also

Constructors

ColorLSHUVa
Link copied to clipboard
fun ColorLSHUVa(l: Double, s: Double, h: Double, alpha: Double = 1.0, ref: ColorXYZa = ColorXYZa.NEUTRAL)

Types

Companion
Link copied to clipboard
object Companion

Functions

scaleHue
Link copied to clipboard
fun scaleHue(scale: Double): ColorLSHUVa
scaleLuminosity
Link copied to clipboard
fun scaleLuminosity(scale: Double): ColorLSHUVa
scaleSaturation
Link copied to clipboard
fun scaleSaturation(scale: Double): ColorLSHUVa
shiftHue
Link copied to clipboard
fun shiftHue(shift: Double): ColorLSHUVa
shiftLuminosity
Link copied to clipboard
fun shiftLuminosity(shift: Double): ColorLSHUVa
shiftSaturation
Link copied to clipboard
fun shiftSaturation(shift: Double): ColorLSHUVa
toLCHUVa
Link copied to clipboard
fun toLCHUVa(): ColorLCHUVa
toRGBa
Link copied to clipboard
fun toRGBa(): ColorRGBa

Properties

alpha
Link copied to clipboard
val alpha: Double = 1.0
h
Link copied to clipboard
val h: Double
l
Link copied to clipboard
val l: Double
ref
Link copied to clipboard
val ref: ColorXYZa
s
Link copied to clipboard
val s: Double
saturated
Link copied to clipboard
val saturated: ColorLSHUVa