Parses a CSS HSL color string into an HSLColor object.
Supports both comma and space syntax, as well as both hsl() and hsla() formats:
The function handles:
The CSS HSL color string to parse
The parsed HSL color object
If the string format is invalid
Parses a CSS HSL color string into an HSLColor object.
Supports both comma and space syntax, as well as both hsl() and hsla() formats:
The function handles: