Example #1
0
        internal static Hsl ToHsl(this Color color)
        {
            var hsl = new Hsl();

            hsl.Initialize(new Rgb {
                R = color.R, G = color.G, B = color.B
            });
            return(hsl);
        }