Function nannou_core::color::hsla
source · pub fn hsla(h: f32, s: f32, l: f32, a: f32) -> Hsla
Expand description
A short-hand constructor for Hsla::new(RgbHue::from_degrees(h * 360.0), s, l, a)
.
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).