Skip to main content

HslaF64

Type Alias HslaF64 

Source
pub type HslaF64 = HslaOf<f64>;

Aliased Type§

#[repr(C)]
pub struct HslaF64 { pub h: f64, pub s: f64, pub l: f64, pub a: f64, }

Fields§

§h: f64

Hue. Color coefficient. Ex: 0 = red, 0.25 = green, 0.5 = blue, 0.75 = magenta

§s: f64

Saturation. Grayscale : 0, 1: pure color.

§l: f64

Light. Black & White level. 0 = black, 0.5 = pure color, 1 = white

§a: f64

Alpha