check if the string str is a hexadecimal color
str
bool isHexColor(String str) { return _hexcolor.hasMatch(str); }