palette

Type Alias Lchuva

source
pub type Lchuva<Wp = D65, T = f32> = Alpha<Lchuv<Wp, T>, T>;
Expand description

CIE L*C*uv h°uv with an alpha component. See the Lchuva implementation in Alpha.

Aliased Type§

struct Lchuva<Wp = D65, T = f32> {
    pub color: Lchuv<Wp, T>,
    pub alpha: T,
}

Fields§

§color: Lchuv<Wp, T>

The color.

§alpha: T

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