public static int applyHue(int color, double hue, double saturation) {
		double l = getLightness(color);
		double s = saturation;
		
		double v2;
		if ( l < 0.5 ) 		v2 = l * (1+s);
		else				v2 = ( l + s ) - ( s * l );
		
		double v1 = 2.0 * l - v2;
		//System.out.println("l: " + l + "s: " + s);
		
		int r = (int)(255 * hue_2_RGB(v1, v2, hue + (1.0/3.0)));
		int g = (int)(255 * hue_2_RGB(v1, v2, hue));
		int b = (int)(255 * hue_2_RGB(v1, v2, hue - (1.0/3.0)));
		//System.out.println("r: " + r + "g: " + g + "b: " + b);
		return (r << 16) | (g << 8) | b;
	}