add in_array search for displaying colors on different views