Type Alias LinearRgb

Source
pub type LinearRgb = Rgba<Linear<Srgb>, f32>;

Aliased Type§

struct LinearRgb {
    pub color: Rgb<Linear<Srgb>>,
    pub alpha: f32,
}

Fields§

§color: Rgb<Linear<Srgb>>

The color.

§alpha: f32

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