pub fn from_linear(color: Rgb<Linear<S::Space>, T>) -> Rgb<S, T> {
        Rgb::new(
            S::TransferFn::from_linear(color.red),
            S::TransferFn::from_linear(color.green),
            S::TransferFn::from_linear(color.blue),
        )
    }
/// Convert linear RGB to non-linear RGB.
Convert linear RGB to non-linear RGB.
Convert linear RGB to non - linear RGB .
pub fn from_linear(color: Rgb<Linear<S::Space>, T>) -> Rgb<S, T> {
        Rgb::new(
            S::TransferFn::from_linear(color.red),
            S::TransferFn::from_linear(color.green),
            S::TransferFn::from_linear(color.blue),
        )
    }
pub fn from_linear ( color : Rgb < Linear < S :: Space > , T > ) -> Rgb < S , T > { Rgb :: new ( S :: TransferFn :: from_linear ( color . red ) , S :: TransferFn :: from_linear ( color . green ) , S :: TransferFn :: from_linear ( color . blue ) , ) }
Convert linear RGB to non-linear RGB.
Convert linear RGB to non - linear RGB .
color
Rgb<Linear<S::Space>, T>
color
Rgb<Linear<S::Space>, T>