pub type Hsla<S = Srgb, T = f32> = Alpha<Hsl<S, T>, T>;
Expand description
Linear HSL with an alpha component. See the Hsla
implementation in
Alpha
.
Aliased Type§
struct Hsla<S = Srgb, T = f32> {
pub color: Hsl<S, T>,
pub alpha: T,
}
Fields§
§color: Hsl<S, T>
The color.
alpha: T
The transparency component. 0.0 is fully transparent and 1.0 is fully opaque.