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