Example #1
0
        public static RGBColor lab2rgb(LabColor lab)
        {
            XYZColor xyz = ColorConversor.lab2xyz(lab);

            return(ColorConversor.xyz2rgb(xyz));
        }
Example #2
0
        public static LabColor rgb2lab(RGBColor rgb)
        {
            XYZColor xyz = ColorConversor.rgb2xyz(rgb);

            return(ColorConversor.xyz2lab(xyz));
        }