Type Alias palette::hsluv::Hsluva

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

HSLuv with an alpha component. See the Hsluva implementation in Alpha.

Aliased Type§

struct Hsluva<Wp = D65, T = f32> {
    pub color: Hsluv<Wp, T>,
    pub alpha: T,
}

Fields§

§color: Hsluv<Wp, T>

The color.

§alpha: T

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