private static ColorUIResource parseColorHslOrHsla( boolean hasAlpha, List<String> params )
		throws IllegalArgumentException
	{
		int hue = parseInteger( params.get( 0 ), 0, 360, false );
		int saturation = parsePercentage( params.get( 1 ) );
		int lightness = parsePercentage( params.get( 2 ) );
		int alpha = hasAlpha ? parsePercentage( params.get( 3 ) ) : 100;

		float[] hsl = { hue, saturation, lightness };
		return new ColorUIResource( HSLColor.toRGB( hsl, alpha / 100f ) );
	}
Syntax: hsl(hue,saturation,lightness) or hsla(hue,saturation,lightness,alpha)
  - hue: an integer 0-360 representing degrees
  - saturation: a percentage 0-100%
  - lightness: a percentage 0-100%
  - alpha: a percentage 0-100%
flatlaf-core/src/main/java/com/formdev/flatlaf/UIDefaultsLoader.java