Function graphics::math::hsv [−] [src]

pub fn hsv(color: Color, h_rad: f32, s: f32, v: f32) -> Color

Transform color with hue, saturation and value.

Source: http://beesbuzz.biz/code/hsv_color_transforms.php