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