Ejemplo n.º 1
0
        public static RGB LabtoRGB(double l, double a, double b)
        {
            CIEXYZ xyz = LabtoXYZ(l, a, b);

            return(XYZtoRGB(xyz.X, xyz.Y, xyz.Z));
        }
Ejemplo n.º 2
0
        public static CIELab RGBtoLab(int red, int green, int blue)
        {
            CIEXYZ xyz = RGBtoXYZ(red, green, blue);

            return(XYZtoLab(xyz.X, xyz.Y, xyz.Z));
        }