public static HSLColor RgbToHsl(Color color) { double h = 0; double s = 0; double l = 0; HslRgbUtils.RgbToHsl (color, out h, out s, out l); return(new HSLColor((float)h, (float)s, (float)l)); }
public static Color HslToRgb(double h, double s, double l) { return(HslRgbUtils.HslToRgb(h, s, l)); }