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