Color perception mechanisms are highly dependent on evolutionary factors, of which the most prominent is thought to be satisfactory recognition of food sources.
Some animals can distinguish colors in the ultraviolet spectrum.