pub fn from_lab(l: Scalar, a: Scalar, b: Scalar, alpha: Scalar) -> Color {
        #![allow(clippy::many_single_char_names)]
        const DELTA: Scalar = 6.0 / 29.0;

        let finv = |t| {
            if t > DELTA {
                Scalar::powf(t, 3.0)
            } else {
                3.0 * DELTA * DELTA * (t - 4.0 / 29.0)
            }
        };

        let l_ = (l + 16.0) / 116.0;
        let x = D65_XN * finv(l_ + a / 500.0);
        let y = D65_YN * finv(l_);
        let z = D65_ZN * finv(l_ - b / 200.0);

        Self::from_xyz(x, y, z, alpha)
    }
/// Create a `Color` from L, a and b coordinates coordinates in the Lab color
/// space. Note: See documentation for `from_xyz`. The same restrictions apply here.
///
/// See: https://en.wikipedia.org/wiki/Lab_color_space
Create a `Color` from L, a and b coordinates coordinates in the Lab color
space. Note: See documentation for `from_xyz`. The same restrictions apply here.


Create a ` Color ` from L a and b coordinates coordinates in the Lab color space . Note : See documentation for ` from_xyz ` . The same restrictions apply here .
pub fn from_lab(l: Scalar, a: Scalar, b: Scalar, alpha: Scalar) -> Color {
        #![allow(clippy::many_single_char_names)]
        const DELTA: Scalar = 6.0 / 29.0;
        let finv = |t| {
            if t > DELTA {
                Scalar::powf(t, 3.0)
            } else {
                3.0 * DELTA * DELTA * (t - 4.0 / 29.0)
            }
        };
        let l_ = (l + 16.0) / 116.0;
        let x = D65_XN * finv(l_ + a / 500.0);
        let y = D65_YN * finv(l_);
        let z = D65_ZN * finv(l_ - b / 200.0);
        Self::from_xyz(x, y, z, alpha)
    }
pub fn from_lab ( l : Scalar , a : Scalar , b : Scalar , alpha : Scalar ) -> Color { # ! [ allow ( clippy many_single_char_names ) ] const DELTA : Scalar = 6.0 / 29.0 ; let finv = | t | { if t > DELTA { Scalar :: powf ( t , 3.0 ) } else { 3.0 * DELTA * DELTA * ( t - 4.0 / 29.0 ) } } ; let l_ = ( l + 16.0 ) / 116.0 ; let x = D65_XN * finv ( l_ + a / 500.0 ) ; let y = D65_YN * finv ( l_ ) ; let z = D65_ZN * finv ( l_ - b / 200.0 ) ; Self :: from_xyz ( x , y , z , alpha ) }
Create a `Color` from L, a and b coordinates coordinates in the Lab color
space.
Create a ` Color ` from L a and b coordinates coordinates in the Lab color space .
l
Scalar
a
Scalar
b
Scalar
alpha
Scalar
l
Scalar
a
Scalar
b
Scalar
alpha
Scalar