Type Alias palette::okhsl::Okhsla

source ·
pub type Okhsla<T = f32> = Alpha<Okhsl<T>, T>;
Expand description

Okhsl with an alpha component.

Aliased Type§

struct Okhsla<T = f32> {
    pub color: Okhsl<T>,
    pub alpha: T,
}

Fields§

§color: Okhsl<T>

The color.

§alpha: T

The transparency component. 0.0 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.