Made non-native color input have stricter validation and removed a useless line of code