private static Color darken(Color initial, double factor)
	{
		int red = initial.getRed();
		int green = initial.getGreen();
		int blue = initial.getBlue();
		
		red = (int) (red < factor ? 0 : red - factor);
		green = (int) (green < factor ? 0 : green - factor);
		blue = (int) (blue < factor ? 0 : blue - factor);
		
		return new Color(red, green, blue);
	}