/ Published in: Regular Expression
Regex code to match hexadecimal colors
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
\#([a-fA-F]|[0-9]){3, 6}