withHue method
Returns a copy of this color with the hue parameter replaced with the
given value.
Implementation
HSLuvColor withHue(double hue) {
return HSLuvColor.fromHSL(hue.clamp(0.0, 360.0), saturation, lightness);
}
Returns a copy of this color with the hue parameter replaced with the
given value.
HSLuvColor withHue(double hue) {
return HSLuvColor.fromHSL(hue.clamp(0.0, 360.0), saturation, lightness);
}