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[1].
3. A Wider Gap Between the Crystals Reflects Longer Wavelengths
Light is a wave, and each color has its own wavelength, blue short and red long. When crystals sit in a regular pattern, the gap between them decides which wavelengths bounce back 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. The details differ, but the idea of "color from structure, not from paint" is shared[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 a lot of the sun's near-infrared light, the invisible, heat-carrying part of sunlight. In panther chameleons about 45% of the energy in that range is screened out by reflection[1].
The authors describe the heat benefit as a potential one, not a proven one. They also point out that having two layers is an evolutionary novelty for chameleons that 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. Across 21 Kinds of Dwarf Chameleon, Color Change Tracks Showing Off
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 measured the color change in male contests in field trials and compared it across the family tree[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 hypothesis and concluded that selection for social signaling drives the evolution of color change in this group[2]. They also note that all dwarf chameleons can change their brightness substantially in a variety of settings, including controlling body temperature[2]. This study covers dwarf chameleons, so it cannot be stretched to every chameleon.
6. Do Chameleons Match Their Background at All? A 2025 Experiment
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].
The chameleons made their skin brighter or darker to match black backgrounds, and shifted toward some hues, 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. Something You Can Check Yourself: Structure Making Color
You do not need a chameleon to see "color from structure." Take an old music disc (CD or DVD) and tilt it by a window, not in direct sunlight, and never look at the sun's reflection. 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.