cosmic::cosmic_theme::palette::cam16

Type Alias Cam16Qcha

source
pub type Cam16Qcha<T> = Alpha<Cam16Qch<T>, T>;
Expand description

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

See the Cam16Qcha implementation in Alpha.

Aliased Type§

struct Cam16Qcha<T> {
    pub color: Cam16Qch<T>,
    pub alpha: T,
}

Fields§

§color: Cam16Qch<T>

The color.

§alpha: T

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