code: function () {
  		var options = this.options,
  			userOptions = this.userOptions,
  			defaultColors = this.chart.options.colors,
  			counters = this.chart.counters,
  			color,
  			colorIndex;
  
  		color = options.color || defaultPlotOptions[this.type].color;
  
  		if (!color && !options.colorByPoint) {
  			if (defined(userOptions._colorIndex)) { // after Series.update()
  				colorIndex = userOptions._colorIndex;
  			} else {
  				userOptions._colorIndex = counters.color;
  				colorIndex = counters.color++;
  			}
  			color = defaultColors[colorIndex];
  		}
  		
  		this.color = color;
  		counters.wrapColor(defaultColors.length);
  	}
docs: Get the series' color