1. A Male Panther Chameleon Gets Brighter When a Rival Shows Up
The panther chameleon lives in Madagascar. A calm, resting male has a green background color. When he meets a male competitor, or a female who might be ready to mate, the green background shifts to yellow or orange, and his blue patches turn whitish[1].
A color that makes you easy to spot is hard to explain as hiding. So the first thing to learn is that "camouflage" is not the whole story. The next question is how the skin makes such a quick change.
2. The Skin Is Not Just Repainted: Tiny Crystals Matter Too
The classic picture is a repaint. Skin cells called melanophores hold dark pigment, and spreading that pigment out or pulling it together makes the skin look darker or lighter. That part is real. The 2015 study found melanophores in the chameleon's skin, and found that spreading the dark pigment changes how bright the skin looks[1].
But brightness is not hue. The shift from green to yellow and orange comes from something else: cells called iridophores, which sit near the surface of the skin and contain tiny crystals of a substance called guanine. These crystals are far too small to see, and they do not add any color of their own. They reflect light, and the spacing between them helps decide which colors we see[1].
3. A Wider Gap Between the Crystals Reflects Longer Wavelengths
Light travels in waves. Blue light has shorter waves, and red light has longer waves. When crystals sit in a regular pattern, the gap between them decides which colors of light bounce back strongly. If the gaps change, different colors bounce back more strongly. This is called structural color, the same family of effects that gives soap bubbles and the shiny side of a disc their rainbow look. Soap bubbles, discs, and chameleon skin make structural colors in different ways. In each case, the structure, not paint, affects which colors of light we see[1].
In the 2015 study, the distance between crystals in resting skin was on average 30% smaller than in excited skin. The authors concluded that widening and narrowing this lattice is enough to explain the reversible color shifts seen in living animals[1]. The change happens within a couple of minutes and is fully reversible[1]. That fits the yellow and orange of an excited male: wider gaps, longer wavelengths. How the cells widen the gaps is beyond what this article covers.
4. A Second, Deeper Layer of Crystals May Help Keep the Skin from Overheating
The crystals that change color are in a thin layer near the surface. Below it is a second group of iridophores with larger crystals. This deeper layer reflects much of the sun's near-infrared light, a kind of invisible light that carries energy and can warm the skin. In panther chameleons, the researchers estimate that this deeper layer reflects away about 45% of the sunlight's near-infrared energy that reaches the skin[1].
The authors describe the heat benefit as a potential one, not a proven one. They also point out that this two-layer setup is unusual among chameleons and may let some species combine good camouflage with a spectacular display[1]. In other words, one layer can perform for an audience while another quietly handles sunlight.
5. In 21 Kinds of Dwarf Chameleon, Color Change Tracked How Showy Their Signals Were
If chameleons changed color mainly to blend in, species living among more varied backgrounds should be the best at it. A 2008 study tested this with 21 lineages of dwarf chameleons (genus Bradypodion) from southern Africa. The researchers watched males compete in the wild, measured their color changes, and compared the 21 groups of dwarf chameleons[2].
The result went the other way. Color change was not linked to how varied the background was. It was linked to how conspicuous the signals were in male contests and courtship: the more eye-catching the signals, the greater the capacity for change. The authors found no evidence for the camouflage idea. They concluded that, in this group, color change became more useful over generations as a way to send social signals[2]. They also note that all dwarf chameleons can change their brightness substantially in different situations, including when regulating their body temperature[2]. This study covers dwarf chameleons, so it cannot be stretched to every chameleon.
6. A 2025 Experiment Found Some Background Matching, but Only Within Limits
Then is the popular idea simply wrong? Not quite. A 2025 paper begins with a plain observation: popular culture says chameleons match their backgrounds, yet this has rarely been shown under controlled conditions[3]. The team placed flap-necked chameleons (Chamaeleo dilepis) on backgrounds of different colors and patterns and measured how they looked[3].
On black backgrounds, the chameleons changed how bright or dark they looked. They also shifted toward some colors, especially yellow. They did not copy patterns[3]. A university press release adds that black was the fastest response and that some colors, such as blue-green, led to little or slow change[4].
So the most careful summary today is that chameleons do have some background matching, but it is limited. Signaling and temperature control are also real jobs for the skin, and which one matters most seems to depend on the species and the situation. Only a few species have been studied closely, so more surprises may be waiting.
7. Tilt an Old CD to See Color Made by Structure, Not Paint
You do not need a chameleon to see "color from structure." With an adult, hold an old music disc (CD or DVD) in a bright room, away from direct sunlight, and tilt it to see the rainbow bands. Never aim it toward the Sun or look at a reflection of the Sun. The rainbow bands slide and change as you tilt it. No dye is changing; the layout of the surface does the work. The chameleon's mechanism is different in detail, but the clue is the same.
If you watch a video of a chameleon changing color, pause it and ask what happened just before: another animal came close, or the sun came out. That is a good first guess at which job the color is doing. The original papers are free to read online, and the 2015 paper has pictures of the crystals.