Type Alias palette::rgb::GammaSrgba

source ·
pub type GammaSrgba<T = f32> = Rgba<Gamma<Srgb>, T>;
Expand description

Gamma 2.2 encoded sRGB with an alpha component.

Aliased Type§

struct GammaSrgba<T = f32> {
    pub color: Rgb<Gamma<Srgb>, T>,
    pub alpha: T,
}

Fields§

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

The color.

§alpha: T

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