It changes its shading to match its surroundings so it can sneak up on prey. Only its belly patterns stay fixed.
It changes body color to blend in with its surroundings. It also changes color if it is happy or sad.