Parses a CSS OKLCh color string into an OKLChColor object.
Supports both comma and space syntax, as well as percentage notation for lightness:
The function handles:
The CSS OKLCh color string to parse
The parsed OKLCh color object
If the string format is invalid
Parses a CSS OKLCh color string into an OKLChColor object.
Supports both comma and space syntax, as well as percentage notation for lightness:
The function handles: