[][src]Function nannou::color::hsl

pub fn hsl(h: f32, s: f32, l: f32) -> Hsl

A short-hand constructor for Hsl::new(RgbHue::from_degrees(h * 360.0), s, l).

The given hue expects a value between 0.0 and 1.0 where 0.0 is 0 degress and 1.0 is 360 degrees (or 2 PI radians).