pub fn rgb_to_hsv(r: f32, g: f32, b: f32) -> (f32, f32, f32)
Expand description
Converts a color from RGB space to HSV.
Input values must be in the [0.0, 1.0] range;
output values will be in the same range.
Red
Green
Blue
§Returns
Return value for the hue component
Return value for the saturation component
Return value for the value component