Exemplo n.º 1
0
        public override ColorRgb ConvertToRgb()
        {
            var colourfulLab = new Colourful.LabColor(L, a, b);

            System.Drawing.Color systemRgb = colorfulConverter.ToRGB(colourfulLab);

            var colorRgb = new ColorRgb();

            colorRgb.SetFromRgb(systemRgb.R, systemRgb.G, systemRgb.B);

            return(colorRgb);
        }
 public abstract double Distance(Colors.ColorRgb queryCircle, Colors.Color3d targetColor, int distX, int distY);