Do chameleons change colour to match their background?
The short answer
Cartoons show a chameleon turning red on a red rug. Real chameleons are among the best colour changers on land, but what are they changing colour for? We checked the field studies and a 2025 experiment that put the idea to a direct test.

Partly true. Chameleons really can shift their colour, and at least one species has now been shown to nudge its colour and brightness toward its background. Matching their surroundings is not the main job, though: most of the dramatic colour change you see is chameleons talking to each other, and some of it is about staying warm or cool.
Where the idea comes from
Chameleons have been famous for changing colour for a very long time. Aristotle described it in his History of Animals more than 2,300 years ago, and the animal has since lent its name to anyone who blends into whatever company they keep. Cartoons and nature films finished the job: a chameleon steps onto a red surface and turns red, steps onto a tartan rug and turns tartan.
The belief is easy to hold because part of it is visibly true. A chameleon sitting quietly in a bush is usually some shade of green or brown, much like the bush. Watch the same animal meet a rival, though, and it can light up in bright bands of yellow, orange or turquoise that make it easier to spot, not harder.
What chameleons mostly use colour for
The clearest test of the "camouflage" explanation came from Devi Stuart-Fox and Adnan Moussalli, who compared 21 lineages of southern African dwarf chameleons (Bradypodion) and published the results in PLoS Biology in 2008. They measured how much each lineage could change colour and asked what that ability was for. The lineages with the most dramatic colour change were the ones with the most conspicuous signals in male contests. The authors found no support for the idea that background matching drove the evolution of big colour changes.
In other words, the showiest displays exist to be seen. A male turning bright and contrasting is telling a rival to back off, or telling a female what he has to offer. A beaten male, or an unreceptive female, often goes dark and drab instead. Those messages work only because they stand out against the leaves.
Temperature is the second reason. Walton and Bennett studied Kenyan chameleons in the early 1990s and recorded colour changes linked to temperature: darker skin absorbs more sunlight, paler skin reflects more. A chameleon warming up after a cool night has a good reason to look darker than its perch.
So do they ever match the background?
Yes, a little, and this is why the verdict is partly true rather than false. Two kinds of evidence point that way.
First, chameleons change their appearance when danger shows up. In a 2008 study in Biology Letters, Stuart-Fox, Moussalli and Martin Whiting showed that dwarf chameleons changed colour differently depending on whether they saw a model bird or a model snake, two predators that see colour differently. That is camouflage switched on by a threat.
Second, a 2025 study from the University of Exeter tested background matching directly, which surprisingly few studies had done under controlled conditions. Tom Major and colleagues placed flap-necked chameleons (Chamaeleo dilepis) on uniform backgrounds of several colours and greys, and on patterned ones, then measured how their flanks would look to a predator's eyes over the following minutes. The chameleons darkened to match black backgrounds and shifted their colour toward some hues, especially yellow and to a lesser degree orange. Against white the change was borderline. They made no attempt to copy patterns, and the authors write that chameleons are unlikely to be able to match a wide variety of background colours.
So the realistic picture is a chameleon that can drift toward the greens, browns and yellows of the places it actually lives, within a few minutes. The tartan rug is out of reach.
How the colour change works
Chameleons do not change colour the way an octopus does, by squeezing sacs of pigment. The bright shifts come mostly from structure. In 2015 a team at the University of Geneva led by Michel Milinkovitch (Teyssier and colleagues, Nature Communications) looked at panther chameleons and found a thick layer of skin cells called iridophores packed with tiny crystals of guanine, about 130 nanometres across, arranged in a regular lattice.

The spacing of that lattice decides which colour of light gets reflected, in the same way that the thickness of a soap film decides which colours you see on a bubble. When the chameleon is calm, the crystals sit close together and reflect blue light. Yellow pigment in the cells above filters that blue, and blue plus yellow reads as green. When the animal gets excited, the cells swell, the crystals move apart, and the reflected light shifts toward yellow, orange and red. Pull the crystals back together and the colour returns.
A deeper layer of larger, less orderly crystals sits underneath and reflects much of the near-infrared part of sunlight, which the Geneva team suggested helps keep the animal from overheating. Colour and temperature, again, are tied together.
This also explains the limits. A chameleon can only slide along the range its crystals and pigments allow, which suits shifts between green, yellow and orange far better than a jump to bright blue or white.
Why the myth is worth keeping, with an edit
The popular version gets the ability right and the motive wrong. Chameleons are genuinely among the best colour changers on land, but they spend that talent mostly on being noticed by other chameleons. It is a bit like the cape in a bullring: the colour is aimed at a particular viewer, and what that viewer can actually see matters more than what we assume.
It belongs with other animal myths that start from a real behaviour and stretch it. Ostriches do lower their heads to the ground, but they are not hiding in the sand. Chameleons do change colour, and sometimes they do it to blend in. Mostly they do it to stand out.
If colour hidden in plain sight interests you, leaves pull a related trick with pigments: some of their autumn colours are there all summer, masked by green.
Sources
- Stuart-Fox, D. and Moussalli, A. (2008). Selection for social signalling drives the evolution of chameleon colour change. PLoS Biology 6(1): e25.
- Stuart-Fox, D., Moussalli, A. and Whiting, M. J. (2008). Predator-specific camouflage in chameleons. Biology Letters 4: 326–329.
- Teyssier, J., Saenko, S. V., van der Marel, D. and Milinkovitch, M. C. (2015). Photonic crystals cause active colour change in chameleons. Nature Communications 6: 6368.
- Major, T., Hesten, A. C. M., Stipala, J., Cant, M. A., Stevens, M. and Troscianko, J. (2025). Flap-necked chameleons change colour to match their background. Biology Letters 21: 20250134.
- Walton, B. M. and Bennett, A. F. (1993). Temperature-dependent color change in Kenyan chameleons. Physiological Zoology 66(2): 270–287.
- Aristotle, History of Animals, Book II.