Type Alias palette::Luva

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

CIE L*u*v* (CIELUV) with an alpha component. See the Luva implementation in Alpha.

Aliased Type§

struct Luva<Wp = D65, T = f32> {
    pub color: Luv<Wp, T>,
    pub alpha: T,
}

Fields§

§color: Luv<Wp, T>

The color.

§alpha: T

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