ImageProcessor.Imaging.Quantizers.WuQuantizer.PaletteColorHistory.ToNormalizedColor C# (CSharp) Method

ToNormalizedColor() public method

Normalizes the color.
public ToNormalizedColor ( ) : Color
return System.Drawing.Color
        public Color ToNormalizedColor()
        {
            return (this.Sum != 0) ? Color.FromArgb(this.Alpha /= this.Sum, this.Red /= this.Sum, this.Green /= this.Sum, this.Blue /= this.Sum) : Color.Empty;
        }