Type Alias palette::Laba

source ·
pub type Laba<Wp = D65, T = f32> = Alpha<Lab<Wp, T>, T>;
Expand description

CIE L*a*b* (CIELAB) with an alpha component. See the Laba implementation in Alpha.

Aliased Type§

struct Laba<Wp = D65, T = f32> {
    pub color: Lab<Wp, T>,
    pub alpha: T,
}

Fields§

§color: Lab<Wp, T>

The color.

§alpha: T

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