Type Definition palette::rgb::Srgb

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

Non-linear sRGB.

Trait Implementations§

source§

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

source§

fn from(lin_srgb: LinSrgb<T>) -> Self

Converts to this type from the input type.