thrownewIllegalArgumentException("\""+input+"\" is not a valid color string. Result of tried normalizing: "+formattedHexColor);
}
}
/**
* Checking for {@link Color#parseColor(String)} being able to parse the input is the important part because we don't know the implementation and rely on it to be able to parse the color.
*
* @return true, if the input starts with a hash followed by 6 characters of hex numbers and is parsable by {@link Color#parseColor(String)}.