public static Color getRandomRainbowPixel() {

		Color color;
		int r = random.nextInt(8);
		{
			switch (r) {
			case 0:
				color = Color.RED;
				break;
			case 1:
				color = Color.getHSBColor(15 / 360f, 1, 1);
				break;
			case 2:
				color = Color.YELLOW;
				break;
			case 3:
				color = Color.getHSBColor(60 / 360f, 1, 1);
				break;
			case 4:
				color = Color.getHSBColor(90 / 360f, 1, 1);
				break;
			case 5:
				color = Color.CYAN;
				break;
			case 6:
				color = Color.BLUE;
				break;
			case 7:
				color = Color.MAGENTA;
				break;
			default:
				color = Color.BLACK;
			}
		}
		return color;
	}