Skip to content

Instantly share code, notes, and snippets.

@el22or
Created October 17, 2012 02:49
Show Gist options
  • Save el22or/3903449 to your computer and use it in GitHub Desktop.
Save el22or/3903449 to your computer and use it in GitHub Desktop.
Regex for hex color
^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment