“Using a model of animal colour perception to gain a ‘predator's eye view’, we show that chameleons showed better background colour matching in response to birds than snakes, yet they appear significantly more camouflaged to the snake visual system because snakes have poorer colour discrimination.”…
https://pmc.ncbi.nlm.nih.gov/articles/PMC2610148/
https://pmc.ncbi.nlm.nih.gov/articles/PMC2610148/