Type Alias cosmic::cosmic_theme::palette::Lcha
source · pub type Lcha<Wp = D65, T = f32> = Alpha<Lch<Wp, T>, T>;
Expand description
CIE L*C*h° with an alpha component. See the Lcha
implementation in
Alpha
.
Aliased Type§
struct Lcha<Wp = D65, T = f32> {
pub color: Lch<Wp, T>,
pub alpha: T,
}
Fields§
§color: Lch<Wp, T>
The color.
alpha: T
The transparency component. 0.0 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.