Hct

HCT, hue, chroma, and tone. A color system that provides a perceptually accurate color measurement system that can also accurately render what colors will appear as in different lighting environments.

Properties

Link copied to clipboard
open var chroma: Double
Link copied to clipboard
open var hue: Double
Link copied to clipboard
open var tone: Double

Functions

Link copied to clipboard
open fun from(hue: Double, chroma: Double, tone: Double): Hct
Create an HCT color from hue, chroma, and tone.
Link copied to clipboard
open fun fromInt(argb: Int): Hct
Create an HCT color from a color.
Link copied to clipboard
Translate a color into different ViewingConditions.
Link copied to clipboard
open fun toInt(): Int