public void renderHue(int xp, int yp, Sprite sprite, int hueColor) {
		int w = sprite.getWidth();
		int h = sprite.getHeight();
		yp = this.height - yp;
		yp-=h;
		
		double hue = Color.getHue(hueColor);
		double saturation = (hueColor >> 24 & 0xff) / 255.0;
		for (int y = 0; y < h; y++) {
			for (int x = 0; x < w; x++) {
				int c = sprite.getPixel(x, y);
				
				paintPixelHue(x + xp, y + yp, c, hue, saturation);
			}
		}
	}