toHct

fun Color.toHct(): Hct

Convert a Compose Color to Hct.

Receiver

The color to convert.

Return

The HCT representation of the color.