palette::cam16

Type Alias Cam16Jsha

source
pub type Cam16Jsha<T> = Alpha<Cam16Jsh<T>, T>;
Expand description

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

See the Cam16Jsha implementation in Alpha.

Aliased Type§

struct Cam16Jsha<T> {
    pub color: Cam16Jsh<T>,
    pub alpha: T,
}

Fields§

§color: Cam16Jsh<T>

The color.

§alpha: T

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