ColorYxya

data class ColorYxya(yy: Double, x: Double, y: Double, a: Double)

The Yxy color space, also known as the xyY color space.

Parameters

yy

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

x

first chromaticity coordinate, in a range of 0.0 to 1.0

y

second chromaticity coordinate, in a range of 0.0 to 1.0

Constructors

ColorYxya
Link copied to clipboard
fun ColorYxya(yy: Double, x: Double, y: Double, a: Double = 1.0)

Types

Companion
Link copied to clipboard
object Companion

Functions

toXYZa
Link copied to clipboard
fun toXYZa(): ColorXYZa

Properties

a
Link copied to clipboard
val a: Double = 1.0
x
Link copied to clipboard
val x: Double
y
Link copied to clipboard
val y: Double
yy
Link copied to clipboard
val yy: Double