TonalPalette
class TonalPalette
A convenience class for retrieving colors that are constant in hue and chroma, but vary in tone.
Parameters
hue
The hue of the Tonal Palette, in HCT. Ranges from 0 to 360.
chroma
The chroma of the Tonal Palette, in HCT. Ranges from 0 to ~130 (for sRGB gamut).
keyColor
The key color is the first tone, starting from T50, that matches the palette's chroma.