Type Alias palette::rgb::LinSrgba

source ·
pub type LinSrgba<T = f32> = Rgba<Linear<Srgb>, T>;
Expand description

Linear sRGB with an alpha component.

Aliased Type§

struct LinSrgba<T = f32> {
    pub color: Rgb<Linear<Srgb>, T>,
    pub alpha: T,
}

Fields§

§color: Rgb<Linear<Srgb>, T>

The color.

§alpha: T

The transparency component. 0.0 is fully transparent and 1.0 is fully opaque.