GetHSL
Returns the HSL coordinates of a colour.
Syntax
-
GetHSL(c)
-
c
is a colour
-
Description
If c
is a colour, then GetHSL(c)
returns a structure with the HSL components of c
.
Examples
GetHSL("gold")
hue: 50.5882352941 saturation: 1 lightness: 0.5