Improve HEX_REGEXP

As Sublime syntax highlighter does, it matches the color only if there is 3 or 6 characters, and will not render a preview of the first 3 characters (confusing).
Merge pull request #27 from Zawi/master

Improve HEX_REGEXP