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