public void RgbConversionTest()
        {
            RGBWorkingSpaces workingSpaces = new RGBWorkingSpaces();
            ColorRGB         rgb           = new ColorRGB(0.741176470588235D, 0.513725490196078D, 0.580392156862745D);
            ColorLAB         lab           = new ColorLAB(new ColorXYZ(rgb, workingSpaces.SRGB_D65_Degree2), workingSpaces.SRGB_D65_Degree2);
            ColorHCL         hcl           = new ColorHCL(lab);

            Console.WriteLine(hcl);
        }
        public void ColorToHCLToColor()
        {
            var      ws  = new RGBWorkingSpaces();
            ColorRGB rgb = new ColorRGB(1, 0, 0);
            ColorXYZ xyz = new ColorXYZ(rgb, ws.Adobe_D65_Degree2);
            ColorLAB lab = new ColorLAB(xyz, ws.Adobe_D65_Degree2);
            ColorHCL hcl = new ColorHCL(lab);

            Console.WriteLine(hcl.ToColor());
        }
        public void ColorizationTest()
        {
            var workingspace = new RGBWorkingSpaces();

            var hclColor = new ColorHCL(320, 3, 1);
            var lab      = hclColor.ToLab();

            ColorRGB rgb = new ColorRGB(new ColorXYZ(lab, workingspace.SRGB_D65_Degree2), workingspace.SRGB_D65_Degree2);

            Console.WriteLine(rgb.ToString());
        }