well, it's rather the opposite - AI is vulnerable to these kinds of tricks, you can inject some patterns into images to make the AI perceive the image in a completely different way, humans are in fact much less susceptible to this, at least for now
So how does ai exactly knows which color is the picture... I always thought that by analysing the binary it is possible to recognize previous learned sequences for predetermined colors and as such answer the question... In this example there's no sequence for red for example...
Is it arranged in such a way that gives the illusion of red, or do we mentally fill in the blanks because we already know what colour a coke can is supposed to be?