pub type Srgba<T = f32> = Alpha<Rgb<Srgb, T>, T>;
Expand description
Aliased Type§
struct Srgba<T = f32> {
pub color: Rgb<Srgb, T>,
pub alpha: T,
}
Fields§
§color: Rgb<Srgb, T>
The color.
alpha: T
The transparency component. 0.0 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.