from_hsl


Description:

public static Color from_hsl (double h, double s, double l)

Create new color for the given HSL values while h in [0,360), s in [0,1] and l in [0,1]

Parameters:

h

the hue for the color

s

the saturation for the color

l

the lightness for the color

Returns:

new Color based on the HSL values