Test, validate and match regular expressions
This regex matches HTML/CSS hexadecimal color codes formatted with a hash symbol followed by exactly 6 hexadecimal digits (0-9, a-f, A-F) and a trailing semicolon. It's useful for parsing CSS style declarations like `color: #FF5733;` where the color value is followed by a semicolon. The pattern ensures proper 6-digit hex format commonly used in web development for specifying RGB colors.