Color

data class Color(val red: Double, val green: Double, val blue: Double)(source)

Set of three colors (red, green, and blue) which represent any color.

Throws

when any of red, green, and blue is not in the range 0.0..1.0.

Constructors

Link copied to clipboard
constructor(red: Double, green: Double, blue: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val hue: Double
Link copied to clipboard
Link copied to clipboard
val red: Double
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copyHsl(hue: Double? = null, saturation: Double? = null, luminance: Double? = null): Color