toHct

fun Color.toHct(): Hct

Converts a Compose Color to its HCT (Hue, Chroma, Tone) representation.

Receiver

The Color to convert.

Return

The Hct representation of the specified color.