Beispiel #1
0
        /// <summary>
        /// Convert from RGB to CIE
        /// </summary>
        /// <param name="col">Set Color</param>
        /// <returns></returns>
        public static CIELabColor FromRGB(Color col)
        {
            XYZColor xyz = XYZColor.FromRGB(col);

            return(ColorConverter.XYZToCIE_Lab(xyz));
        }
Beispiel #2
0
 /// <summary>
 /// Convert  From XYZ to CIE
 /// </summary>
 /// <param name="xyz">XYZ</param>
 /// <returns></returns>
 public static CIELabColor FromXYZ(XYZColor xyz)
 {
     return(ColorConverter.XYZToCIE_Lab(xyz));
 }