Build, test, and debug regular expressions
Matches valid CSS color formats: hex colors with 3, 4, 6, or 8 digits, and rgb(), rgba(), hsl(), hsla() functions. For functional notation, it allows optional negative numbers with percentages for color stops, and requires alpha values to be 0, 1, or a decimal between 0 and 1. Useful for validating user input or parsing color values in strings.