Fix for Issue 2257: Color editor incorrectly identifies some href as colors in hex format. 

#2257
just added a (?!\w) two times one for hex 3 and one for hex 6.