withChroma method
Returns a copy of this color with chroma replaced by newChroma.
0 <= newChroma <= ?
The color is mapped from HCT to the more limited sRGB gamut for display,
so the result may have a different ARGB/integer representation. If the
HCT color is outside of the sRGB gamut, chroma will decrease until it is
inside the gamut.
Implementation
Hct withChroma(double newChroma) =>
Hct.from(hue, newChroma, tone, model: _colorModel);