Exemple #1
0
        public void Initialize(IRgb color)
        {
            var lab = ConvertLAB.ToColorSpace(color);

            this.L = lab.L;
            this.A = lab.A;
            this.B = lab.B;
        }
Exemple #2
0
 public static ILab FromColor(IRgb color)
 {
     return(ConvertLAB.ToColorSpace(color));
 }