private static float HueToRGB(float p, float q, float h)
	{
		if (h < 0) h += 1;

		if (h > 1 ) h -= 1;

		if (6 * h < 1)
		{
			return p + ((q - p) * 6 * h);
		}

		if (2 * h < 1 )
		{
			return  q;
		}

		if (3 * h < 2)
		{
			return p + ( (q - p) * 6 * ((2.0f / 3.0f) - h) );
		}

   		return p;
	}
Convert HSL values to a RGB Color.

 @param h Hue is specified as degrees in the range 0 - 360.
 @param s Saturation is specified as a percentage in the range 1 - 100.
 @param l Lumanance is specified as a percentage in the range 1 - 100.
 @param alpha  the alpha value between 0 - 1

 @return the RGB Color object
flatlaf-core/src/main/java/com/formdev/flatlaf/util/HSLColor.java