float l = yellowLightness + (blueLightness - yellowLightness) *
(float) Math.cos(Math.toRadians(Math.abs(180 - y) / 2f));
int result = hslColor(hueDegrees/360f, 0.845f, l);
float l = yellowLightness + (blueLightness - yellowLightness) *
(float) Math.cos(Math.toRadians(Math.abs(180 - y) / 2f));
int result = hslColor(hueDegrees/360f, 0.845f, l);