ColorLSHABa

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

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

See also

Constructors

ColorLSHABa
Link copied to clipboard
fun ColorLSHABa(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): ColorLSHABa
scaleLuminosity
Link copied to clipboard
fun scaleLuminosity(scale: Double): ColorLSHABa
scaleSaturation
Link copied to clipboard
fun scaleSaturation(scale: Double): ColorLSHABa
shiftHue
Link copied to clipboard
fun shiftHue(shift: Double): ColorLSHABa
shiftLuminosity
Link copied to clipboard
fun shiftLuminosity(shift: Double): ColorLSHABa
shiftSaturation
Link copied to clipboard
fun shiftSaturation(shift: Double): ColorLSHABa
toLCHABa
Link copied to clipboard
fun toLCHABa(): ColorLCHABa
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: ColorLSHABa