updated hex color regex, added tests