private void paintPixelHue(int position, int color, double hue, double saturation) {
		int trans = ((color >> 24) & 0xff);
		if (trans == 0);
		else if (trans == 0xff) {
			color = Color.applyHue(color, hue, saturation);
			pixels[position] = color;
		}
		else {
			color = Color.applyHue(color, hue, saturation);
			pixels[position] = applyTransparency(color, pixels[position]);
		}
	}