palette::cam16

Type Alias Cam16Qsha

source
pub type Cam16Qsha<T> = Alpha<Cam16Qsh<T>, T>;
Expand description

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

See the Cam16Qsha implementation in Alpha.

Aliased Type§

struct Cam16Qsha<T> {
    pub color: Cam16Qsh<T>,
    pub alpha: T,
}

Fields§

§color: Cam16Qsh<T>

The color.

§alpha: T

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