Type Alias Rgb

Source
pub type Rgb = Rgba<Srgb, f32>;

Aliased Type§

#[repr(C)]
pub struct Rgb { pub color: Rgb, pub alpha: f32, }

Fields§

§color: Rgb

The color.

§alpha: f32

The transparency component. 0.0 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.