Build, test, and debug regular expressions
This regular expression matches both `rgb()` and `rgba()` CSS color functions. It captures the red, green, blue, and optional alpha (opacity) values into named capturing groups, accommodating various valid CSS separator formats like spaces, commas, or slashes. It is highly useful for parsing, validating, and extracting color components from CSS stylesheets or inline styles.