Parses a CSS RGB color string into an RGBColor object.
Supports both comma and space syntax, as well as both rgb() and rgba() formats:
The function handles:
The CSS RGB color string to parse
The parsed RGB color object, with values normalized to 0-1 range
If the string format is invalid
Parses a CSS RGB color string into an RGBColor object.
Supports both comma and space syntax, as well as both rgb() and rgba() formats:
The function handles: