public void adjustColors(int redOff, int greenOff, int blueOff) {
		for (int i = 0; i < pallete.length; i++) {
			int red = pallete[i] >> 16 & 0xff;
			red += redOff;
			if (red < 0) {
				red = 0;
			} else if (red > 255) {
				red = 255;
			}
			int green = pallete[i] >> 8 & 0xff;
			green += greenOff;
			if (green < 0) {
				green = 0;
			} else if (green > 255) {
				green = 255;
			}
			int blue = pallete[i] & 0xff;
			blue += blueOff;
			if (blue < 0) {
				blue = 0;
			} else if (blue > 255) {
				blue = 255;
			}
			pallete[i] = (red << 16) + (green << 8) + blue;
		}
	}