Chameleons change color to communicate

That’s right. Chameleons don’t change color to hide; they do it to assert social status and otherwise communicate with each other. How do we know this? By working out how chameleons look to other chameleons and their predators. Full story, with refs, at dechronization.