from

fun from(hue: Double, chroma: Double, tone: Double): Hct

Create an HCT color from hue, chroma, and tone.

Return

HCT representation of a color in default viewing conditions.

Parameters

hue

0 <= hue < 360; invalid values are corrected.

chroma

0 <= chroma < ?; Informally, colorfulness. The color returned may be lower than the requested chroma. Chroma has a different maximum for any given hue and tone.

tone

0 <= tone <= 100; invalid values are corrected.