colorFrom static method
Color
colorFrom(
- double hue,
- double chroma,
- double tone, {
- ColorModel model = ColorModel.kDefault,
Implementation
static Color colorFrom(
double hue,
double chroma,
double tone, {
ColorModel model = ColorModel.kDefault,
}) {
final argb = HctSolver.solveToIntForModel(hue, chroma, tone, model: model);
return Color(argb);
}