Build, test, and debug regular expressions
Matches a bracketed six-digit hexadecimal color code followed by optional text. The named groups capture the full color expression, the hex value, and any trailing text such as labels or comments. Useful for parsing color definitions in configuration files, logs, or markup.