Type Alias palette::cam16::Cam16Jcha

source ·
pub type Cam16Jcha<T> = Alpha<Cam16Jch<T>, T>;
Expand description

Partial CIE CAM16 with lightness, chroma, and an alpha component.

See the Cam16Jcha implementation in Alpha.

Aliased Type§

struct Cam16Jcha<T> {
    pub color: Cam16Jch<T>,
    pub alpha: T,
}

Fields§

§color: Cam16Jch<T>

The color.

§alpha: T

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