ColorLCHUVa

The CIELChUV color space is the cylindrical representation of the CIELUV color space.

See also

Parameters

l

luminance, in a range of 0.0 (darkest) to 100.0 (brightest)

c

chroma

h

hue in degrees, where a full rotation is 360.0 degrees

alpha

alpha as a percentage between 0.0 and 1.0

ref

reference white against which the color values are calculated

Constructors

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

Types

Companion
Link copied to clipboard
object Companion

Functions

div
Link copied to clipboard
open operator override fun div(scale: Double): ColorLCHUVa
minus
Link copied to clipboard
open operator override fun minus(right: ColorLCHUVa): ColorLCHUVa
mix
Link copied to clipboard
open override fun mix(other: ColorLCHUVa, factor: Double): ColorLCHUVa
opacify
Link copied to clipboard
open override fun opacify(factor: Double): ColorLCHUVa

Multiply the opacity by a factor

plus
Link copied to clipboard
open operator override fun plus(right: ColorLCHUVa): ColorLCHUVa
shade
Link copied to clipboard
open override fun shade(factor: Double): ColorLCHUVa

Multiply the shade by a factor.

shiftHue
Link copied to clipboard
open override fun shiftHue(shiftInDegrees: Double): ColorLCHUVa

Shift the hue of a color by the given amount of degrees.

times
Link copied to clipboard
open operator override fun times(scale: Double): ColorLCHUVa
toLSHUVa
Link copied to clipboard
fun toLSHUVa(): ColorLSHUVa
toLUVa
Link copied to clipboard
fun toLUVa(): ColorLUVa
toRGBa
Link copied to clipboard
open override fun toRGBa(): ColorRGBa

Convert into ColorRGBa.

Properties

alpha
Link copied to clipboard
val alpha: Double = 1.0
c
Link copied to clipboard
val c: Double
h
Link copied to clipboard
val h: Double
l
Link copied to clipboard
val l: Double
ref
Link copied to clipboard
val ref: ColorXYZa