pub type Rgba8 = Alpha<Rgb<Srgb, u8>, u8>;
Expand description
The same as Rgba
, but with u8
’s.
Aliased Type§
struct Rgba8 {
pub color: Rgb<Srgb, u8>,
pub alpha: u8,
}
Fields§
§color: Rgb<Srgb, u8>
The color.
alpha: u8
The transparency component. 0.0 is fully transparent and 1.0 is fully opaque.