from
Create key tones from a color.
Parameters
color
The color to create the key tones from.
Convert a Compose Color to Hct.
Return
The HCT representation of the color.
Parameters
color
The color to convert.
Generates a TonalPalette from the given color.
Return
The generated TonalPalette.
Parameters
color
The color to generate the TonalPalette from.
Generates a TonalPalette from the given argb color int.
Return
The generated TonalPalette.
Parameters
argb
The ARGB representation of a color to generate the TonalPalette from.
Generates a TonalPalette from the given Hct.
Return
The generated TonalPalette.
Parameters
hct
The color to generate the TonalPalette from.