isWarm property
This getter on the Color class that determines if the color is warm or not. We can use the Hue-Saturation-Value (HSV) representation of the color. A color is generally considered warm if its hue lies between 0 and 180 degrees.
Implementation
bool get isWarm {
final HSVColor hsvColor = HSVColor.fromColor(this);
return hsvColor.hue >= 0 && hsvColor.hue <= 180;
}