The use of protective coloration to ward of enemies is known as camouflaging. This is used by the modern day armies.
The technique is inspired by nature. In this picture if you look more closely, at the middle, a green circle can be seen. This is the place where a bird is sitting. You can make out the bird clearly by magnifying the image. The color is the same as the surrounding terrain of stones and earth.
I would not have spotted the bird if it were not flying or rather hopping.