Type Definition palette::rgb::LinSrgb

source ·
pub type LinSrgb<T = f32> = Rgb<Linear<Srgb>, T>;
Expand description

Linear sRGB.

Trait Implementations§

source§

impl<T, U> From<Rgb<Srgb, T>> for LinSrgb<U>where Srgb: RgbStandard<Space = Srgb> + IntoLinear<U, T>,

source§

fn from(srgb: Srgb<T>) -> Self

Converts to this type from the input type.