src/Colourful/Utils/CylindricalFormulas.cs
/// <summary>
/// Returns saturation of the color (chroma normalized by lightness).
/// </summary>
Returns saturation of the color (chroma normalized by lightness).
Returns saturation of the color ( chroma normalized by lightness ) .
public static double GetSaturation(in double L, in double C)
        {
            var result = 100 * (C / L);
            if (IsNaN(result))
                return 0;
            return result;
        }
public static double GetSaturation ( in double L , in double C ) { var result = 100 * ( C / L ) ; if ( IsNaN ( result ) ) return 0 ; return result ; }
Returns saturation of the color (chroma normalized by lightness).
Returns saturation of the color ( chroma normalized by lightness ) .
double
in