Dissimilar to different animals that change color, for example, the squid and octopus, chameleons don't change colors by collecting or scattering colors inside their skin cells, Rather, the reptiles depend on auxiliary changes that influence how light reflects off their skin.
Since chameleons can't generate their own particular body heat, changing the color of their skin is a method to keep up an ideal body temperature. ... The furthest layer of the chameleon's skin is straightforward. Underneath this are a few more layers of skin that contain specific cells called chromatophores.
Chameleons cover themselves in a wide range of ways yet most broadly by changing the color and example of their skin. Most chameleons can change color and they do this by extending or contracting cells in their skin that contain distinctive shades.