withHue method
Returns a copy of this color with hue replaced by newHue.
0 <= newHue < 360; invalid values are corrected.
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 withHue(double newHue) =>
Hct.from(newHue, chroma, tone, model: _colorModel);