Function cssparser_color::hsl_to_rgb
source · pub fn hsl_to_rgb(hue: f32, saturation: f32, lightness: f32) -> (f32, f32, f32)
Expand description
https://drafts.csswg.org/css-color/#hsl-color except with h pre-multiplied by 3, to avoid some rounding errors.