src/Foundation/Media/Gimela.Media.Imaging/Colors/HSL.cs
/// <summary>
/// Convert from RGB to HSL color space.
/// </summary>
/// 
/// <param name="rgb">Source color in <b>RGB</b> color space.</param>
/// 
/// <returns>Returns <see cref="HSL"/> instance, which represents converted color value.</returns>
/// 
Convert from RGB to HSL color space.
Convert from RGB to HSL color space .
public static HSL FromRGB(RGB rgb)
    {
      HSL hsl = new HSL();
      FromRGB(rgb, hsl);
      return hsl;
    }
public static HSL FromRGB ( RGB rgb ) { HSL hsl = new HSL ( ) ; FromRGB ( rgb , hsl ) ; return hsl ; }
Convert from RGB to HSL color space.
Convert from RGB to HSL color space .
Returns  instance, which represents converted color value.
Returns instance which represents converted color value .
rgb
RGB
Source color in

RGB
Source color in RGB