This site is only a doorway

Everything here is gathered from things other people actually researched, thought through, and built: books, papers, historical records, and the people behind them. If something here catches your interest, go look at the original sources listed at the bottom of the page. They carry more depth than a page like this ever can.

Why Do Chameleons Change Color, and How Do They Do It?

Category: Living Things

Ask anyone what a chameleon does and you will hear "it hides by matching its surroundings." Then a male panther chameleon meets a rival and turns from calm green to bright yellow and orange. That is the opposite of hiding. So what is the color change for, and what is the skin actually doing?

This article follows the skin first, then the reasons. The answers come from a handful of research papers, and the last one is a surprise about the "matching" idea itself.

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.

Sources

This article is a personal summary based on the public sources listed below.

  1. Jérémie Teyssier, Suzanne V. Saenko, Dirk van der Marel, and Michel C. Milinkovitch, "Photonic crystals cause active colour change in chameleons," Nature Communications (2015). https://pmc.ncbi.nlm.nih.gov/articles/PMC4366488/ (Open-access full text, read through a page-summary tool rather than line by line. The 30% spacing difference, the couple of minutes, the green-to-yellow/orange change, the melanophores, and the 45% near-infrared figure come from this text.)
  2. Devi Stuart-Fox and Adnan Moussalli, "Selection for Social Signalling Drives the Evolution of Chameleon Colour Change," PLoS Biology (2008). https://journals.plos.org/plosbiology/article?id=10.1371%2Fjournal.pbio.0060025 (Open-access full text, read through a page-summary tool. The 21 lineages, the lack of a link to background variation, and the statement about brightness change including thermoregulation come from this text.)
  3. Tom Major and colleagues, "Flap-necked chameleons change colour to match their background," Biology Letters (2025). https://pmc.ncbi.nlm.nih.gov/articles/PMC12326199/ (Open-access text, read through a page-summary tool. The abstract's wording on black, yellow, and patterns is used. The number of animals could not be confirmed from this text, so the article does not state it.)
  4. University of Exeter, "Camouflaging chameleons look better in black" (news release). https://news.exeter.ac.uk/faculty-of-environment-science-and-economy/camouflaging-chameleons-look-better-in-black/ (Press release on the 2025 study, used for the black-fastest and blue-green details. A secondary source.)

Update history

  • First published.