Material3Palette extension
Methods
-
saturation(double saturation)
→ Color
-
Saturation is a percentage value between 0 and 100.
The lower the saturation of a color, the more faded or dull the color appears.
like pastel colors, like pale colors, like washed out colors, like muted colors.
The higher the saturation of a color, the more vivid or intense the color appears.
-
tone(int tone)
→ Color
-
The tone of a color is a percentage value between 0 and 100.
The lower the tone of a color, the darker the color appears
and as it approach 0, the color becomes black.
The higher the tone of a color, the lighter the color appears
and as it approach 100, the color becomes white.