Function lux::color::hsva [] [src]

pub fn hsva(h: f32, s: f32, v: f32, a: f32) -> [f32; 4]

Same as hsv but with an alpha component.

a is in the range of 0.0 to 1.0.

 let transparent_dark_blue = hsva(240.0, 0.08, 0.2, 0.5);