Regular Expression

^(#([a-f0-9]{6}|[a-f0-9]{3}))$

Tags: color, html, internet

blog comments powered by Disqus