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