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