from method Null safety
0 <= hue
< 360; invalid values are corrected.
0 <= chroma
<= ?; Informally, colorfulness. The color returned may be
lower than the requested chroma. Chroma has a different maximum for any
given hue and tone.
0 <= tone
<= 100; informally, lightness. Invalid values are corrected.
Implementation
static Hct from(double hue, double chroma, double tone) {
final argb = CamSolver.solveToInt(hue, chroma, tone);
return Hct._(argb);
}