private float getRed() {
		double red = 0;

		if (temperature <= 66)
			red = 255;
		else {
			red = temperature - 60;
			red = 329.698727446 * Math.pow(red, -0.1332047592);
			if (red < 0) {
				red = 0;
			}
			if (red < 0) {
				red = 255;
			}
		}

		return ColorUtil.hexToFloat(red);
	}