Parameters

l

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

u

unbounded chromaticity coordinate U

v

unbounded chromaticity coordinate V

alpha

alpha as a percentage between 0.0 and 1.0

ref

reference white against which the color values are calculated

Constructors

ColorLUVa
Link copied to clipboard
fun ColorLUVa(l: Double, u: Double, v: Double, alpha: Double = 1.0, ref: ColorXYZa)

Types

Companion
Link copied to clipboard
object Companion

Functions

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

Multiply the opacity by a factor

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

Multiply the shade by a factor.

times
Link copied to clipboard
open operator override fun times(scale: Double): ColorLUVa
toHSLa
Link copied to clipboard
fun toHSLa(ref: ColorXYZa = this.ref): ColorHSLa
toHSVa
Link copied to clipboard
fun toHSVa(ref: ColorXYZa = this.ref): ColorHSVa
toLABa
Link copied to clipboard
fun toLABa(ref: ColorXYZa = this.ref): ColorLABa
toLCHUVa
Link copied to clipboard
fun toLCHUVa(): ColorLCHUVa
toRGBa
Link copied to clipboard
open override fun toRGBa(): ColorRGBa

Convert into ColorRGBa.

fun toRGBa(ref: ColorXYZa = this.ref): ColorRGBa
toVector4
Link copied to clipboard
open override fun toVector4(): Vector4
toXYZa
Link copied to clipboard
fun toXYZa(): ColorXYZa

Properties

alpha
Link copied to clipboard
val alpha: Double = 1.0
l
Link copied to clipboard
val l: Double
ref
Link copied to clipboard
val ref: ColorXYZa
u
Link copied to clipboard
val u: Double
v
Link copied to clipboard
val v: Double