Function lux::color::hsv
[−]
[src]
pub fn hsv(h: f32, s: f32, v: f32) -> [f32; 4]
Constructs a color from Hue, Saturation and Value components.
h is in the range of 0.0 to 360.0. s and v are in the range of
0.0 to 1.0.
let dark_blue = hsv(240.0, 0.08, 0.2);