ecolor

Function hsv_from_rgb

Source
pub fn hsv_from_rgb([r, g, b]: [f32; 3]) -> (f32, f32, f32)
Expand description

All ranges in 0-1, rgb is linear.