Type Alias palette::luma::LinLuma

source ·
pub type LinLuma<Wp = D65, T = f32> = Luma<Linear<Wp>, T>;
Expand description

Linear luminance.

Aliased Type§

struct LinLuma<Wp = D65, T = f32> {
    pub luma: T,
    pub standard: PhantomData<Linear<Wp>>,
}

Fields§

§luma: T

The lightness of the color. 0.0 is black and 1.0 is white.

§standard: PhantomData<Linear<Wp>>

The kind of RGB standard. sRGB is the default.