code: public void setColorRange(int firstIndex, int lastIndex, int color) {
  		for (int i = firstIndex; i <= lastIndex; i++)
  			map[i] = color;
  	}
docs: Set a range of the colormap to a single color.
  @param firstIndex the position of the first color
  @param lastIndex the position of the second color
  @param color the color