pub type Hsl = Hsla<Srgb, f32>;
Aliased Type§
#[repr(C)]pub struct Hsl {
pub color: Hsl,
pub alpha: f32,
}
Fields§
§color: Hsl
The color.
alpha: f32
The transparency component. 0.0 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.