What Color Are Butterflies and How Do They Get Their Color?

Butterflies come in virtually every color the human eye can perceive, from deep blacks and vivid oranges to electric blues and iridescent greens, and they produce these colors through two fundamentally different mechanisms. Some colors come from chemical pigments that absorb certain wavelengths of light and reflect the rest. Others come from physical nanostructures on the wing surface that manipulate light through interference and diffraction, producing colors that shift with viewing angle. Many butterflies use both at once, layering pigment and structure to fine-tune hues that no single mechanism could achieve alone.

Each Color Sits on a Tiny Scale

A butterfly wing is not a membrane with paint on it. It is covered in thousands of microscopic scales, each one the product of a single cell. These scales overlap like roof tiles, and each one carries the color information for a small patch of the wing. Their basic architecture is shared across species: the cell extrudes a thin outer shell, called the epicuticle, followed by internal layers that form ridges, pillars, lattices, or other structures depending on the species.1Wiley Online Library (Microscopy Research and Technique). Structure of butterfly scales: patterning in an insect cuticle Think of each scale as a miniature tile that can hold pigment, bend light with its architecture, or both. The full visual effect of a butterfly wing emerges from millions of these tiles working together.

Researchers have tracked the development of individual scales in living painted lady butterflies, watching them grow in real time using a specialized microscopy technique. They found that the differences between “cover scales” on the wing’s outer surface and “ground scales” underneath begin very early in development, and that geometric features of the growing scale surface play a key role in determining the final structure.2PubMed Central. In vivo visualization of butterfly scale cell morphogenesis in Vanessa cardui The architecture of these scales is what makes the extraordinary diversity of butterfly color possible.

Colors That Come from Pigments

The most intuitive way to make color is with pigment: a molecule that absorbs some wavelengths of light and reflects others. Butterflies use several distinct families of pigments, and which pigments a species produces largely determines its palette of warm-toned colors.

Melanins are the most widespread. They are responsible for the blacks, dark browns, and some tans you see on butterfly wings. The genetics behind melanin coloration have been studied closely. When researchers knocked out specific melanin-pathway genes in butterflies using gene-editing tools, different genes affected different parts of the color spectrum. Some knockouts reduced black pigmentation broadly, while others had more localized effects, shifting the color of red, brown, and ochre pattern elements rather than eliminating dark pigment across the board.3PubMed Central. Genetic Basis of Melanin Pigmentation in Butterfly Wings The same study and related work showed that these melanin genes affect the physical structure of scales too, not just their color.4PubMed. Melanin Pathway Genes Regulate Color and Morphology of Butterfly Wing Scales

Ommochromes are another major pigment class, responsible for many of the oranges, reds, and browns in the nymphalid family, which includes monarchs and painted ladies. A study of monarch butterfly wings identified seven ommochrome pigments, with the most abundant being xanthommatin and a derivative called decarboxylated xanthommatin. Interestingly, the perceived color of ommochromes depends on their chemical state: oxidized forms appear more yellow, while reduced forms shift toward red.5PubMed Central. Ommochrome Wing Pigments in the Monarch Butterfly Danaus plexippus (Lepidoptera: Nymphalidae) This means the same molecule can look different depending on its biochemical environment in the wing.

Pterins are the characteristic pigments of the pierid family, which includes cabbage whites and brimstones. Their absorption patterns can range from ultraviolet-only, which produces white to our eyes, all the way to broader absorption bands that create yellows, oranges, and reds.6Journal of Comparative Physiology A. Butterfly blues and greens caused by subtractive colour mixing of carotenoids and bile pigments And swallowtails have their own signature pigments called papiliochromes, which contribute to their distinctive yellows and greens.

Some butterflies even borrow color from their food. The common blue butterfly sequesters flavonoid pigments from its larval host plants and stores them in its wings as an adult. Rearing experiments showed a huge gradient in flavonoid content depending on what the caterpillar ate: larvae fed on certain flower heads accumulated heavy pigment loads, while those fed only on leaves ended up with almost none. Females, on average, sequestered about 60% more flavonoids than males.7Elsevier. Flavonoid sequestration by the common blue butterfly Polyommatus icarus: quantitative intraspecific variation in relation to larval hostplant, sex and body size Diet-derived pigments mean that two individuals of the same species can differ noticeably in color depending on what they ate as caterpillars.

Colors That Come from Structure

Blues and greens are rare in the pigment toolkit. Most butterfly pigments produce colors in the warm range: yellows, oranges, reds, browns, and blacks. So where do the brilliant blues, violets, and metallic greens come from? Usually from the physical structure of the wing scales rather than from any pigment molecule.

Structural color works because the nanostructures inside and on the surface of a scale are sized at roughly the wavelength of visible light. When light enters these structures, it bounces between layers, ridges, or lattices, and the reflected waves interfere with each other. Certain wavelengths reinforce and get reflected strongly, while others cancel out. The result is vivid, often iridescent color that shifts depending on the viewing angle.

The most famous example is the Morpho butterfly, whose wings blaze with electric blue. For years, researchers attributed this entirely to multilayer reflections from the ridges on the upper surface of the cover scales. But more detailed work showed the picture is richer than that. The lower surfaces of both cover and ground scales act as thin-film reflectors, adding to the color. Morpho coloration turns out to be a combination of overlapping pigmented and unpigmented scales, multilayer systems, thin-film effects, and sometimes undulating scale surfaces.8Journal of Experimental Biology. Coloration mechanisms and phylogeny of Morpho butterflies 9PubMed Central. Brilliant iridescence of Morpho butterfly wing scales is due to both a thin film lower lamina and a multilayered upper lamina The blue you see is not one effect. It is several optical phenomena layered on top of each other.

Some butterflies go even further. A lycaenid butterfly called Erora opisena develops scales containing three-dimensional photonic crystals with a geometry known as a single gyroid. These are basically nanoscale crystal lattices that interact with light in complex ways. Researchers found that the intensity of reflected green light corresponded to the size of the crystallites: larger crystals reflected green wavelengths more strongly.10PubMed Central. Elucidating nanostructural organization and photonic properties of butterfly wing scales using hyperspectral microscopy The diversity of photonic structures in butterflies is enormous, encompassing multilayers, diffraction gratings, thin films, photonic crystals, and more, making them one of the most architecturally varied groups of structural color producers in all of nature.11Europe PMC. A review of the diversity and evolution of photonic structures in butterflies, incorporating the work of John Huxley

When Pigment and Structure Work Together

The cleanest examples of butterfly color involve one mechanism or the other, but many species mix both. This combination allows for spectral tuning that neither pigment nor structure can achieve on its own. Birdwing butterflies in the genus Ornithoptera are a striking case. Their wing scales contain a chirped multilayer reflector, a structural element that reflects a broad range of wavelengths. But the scales also contain papiliochrome pigments that absorb specific wavelengths, acting as a filter that narrows the reflected color. The combined structural and pigmentary effects tune the final color of the wing scales more precisely than either mechanism alone could.12PubMed Central. Spectrally tuned structural and pigmentary coloration of birdwing butterfly wing scales

This kind of layering is more common than older textbook accounts suggested. Blues and greens in some butterfly species arise from subtractive mixing of pigment absorption and structural reflection, producing hues that are neither purely pigmentary nor purely structural. The interaction between these systems is an active area of research, and it continues to reveal combinations that no one initially predicted.

The Genes That Paint the Wings

If the scale is the canvas and pigments and nanostructures are the media, genes are the instructions for the painting. Researchers have identified key genes that control where colors appear on a butterfly wing. Two stand out. WntA acts as a patterning signal that establishes spatial boundaries on the developing wing, essentially drawing the outlines of the pattern. Optix is a gene that acts later, switching on to fill specific wing regions with red pigmentation.13PubMed Central. Waiting in the wings: what can we learn about gene co-option from the diversification of butterfly wing patterns? These same genes have been repurposed across many butterfly lineages to generate very different wing patterns, a phenomenon called gene co-option. The toolkit is ancient, but the applications are endlessly creative.

On the pigment production side, melanin pathway genes have been edited with gene-editing tools to dissect which genes control which colors. Some, like the gene pale, affect melanin production broadly. Others, like ebony and black, fine-tune specific color elements on the wing, shifting the tint of brown or ochre patches without wiping out melanin everywhere.3PubMed Central. Genetic Basis of Melanin Pigmentation in Butterfly Wings The emerging picture is of a layered genetic system: broad patterning genes lay out the spatial plan, and pigment-synthesis genes fill in the colors within those boundaries.

Temperature and Environment Shape the Final Product

Genetics set the recipe, but environment adjusts the seasoning. One of the most dramatic environmental effects on butterfly color is temperature during development. In the small tortoiseshell butterfly (Aglais urticae), researchers reared caterpillars and pupae at a range of constant temperatures and found a clear linear relationship: lower temperatures produced darker adults, and higher temperatures produced lighter ones. This was not just cosmetic. Darker butterflies absorbed more light and heated up faster during the initial minutes of basking, giving them a thermoregulatory advantage in cooler conditions.14PubMed Central. Thermobiological effects of temperature-induced color variations in Aglais urticae (Lepidoptera, Nymphalidae) The color shift is adaptive, meaning the developmental process produces the phenotype best suited to the thermal environment the butterfly is likely to face.

Season can also matter. Some species produce distinct wet-season and dry-season forms with different wing patterns and colors, driven by temperature and photoperiod cues during development. These seasonal forms can look so different that early naturalists sometimes classified them as separate species.

Why Color Matters for Survival

The extraordinary range of butterfly coloration is not decorative excess. Natural selection has shaped it for several distinct survival functions, sometimes simultaneously on different parts of the same wing.

Absorbing Heat

Butterflies are ectotherms. They rely on external heat to get their bodies up to flight temperature. Studies of Tirumala limniace, a milkweed butterfly, showed that dark areas of the wing absorb significantly more heat than light areas, and that the forewings absorb heat more effectively than the hindwings. Specific dark patches on the wing surface serve as heat-storage zones.15PeerJ. Capacity for heat absorption by the wings of the butterfly Tirumala limniace (Cramer) For a cold-blooded animal that needs to fly to feed and mate, the thermal properties of wing coloration are a matter of life and death, not aesthetics.

Warning Predators

Bright, contrasting patterns in species like Heliconius butterflies serve as warning signals to predators. These butterflies are toxic or unpalatable, and their bold colors advertise that fact. A field experiment in tropical forest demonstrated this directly. Researchers hung artificial butterflies with Heliconius-like color patterns alongside achromatic versions in trees. In a second trial, after local birds had a chance to learn, the colored models were attacked significantly less than the colorless ones, while predation on achromatic models did not drop between trials.16PubMed Central. Avoidance of an aposematically coloured butterfly by wild birds in a tropical forest The color itself enhanced learning and memory in predators, making it easier for birds to remember that this particular look meant a bad meal.

Mimicry Rings

Warning coloration opens the door to mimicry, where species converge on similar color patterns for mutual benefit or deception. When multiple toxic species evolve to look alike, each benefits because predators learn the shared warning pattern faster. These groupings are called Müllerian mimicry rings. Research on butterfly mimicry communities found that Müllerian mimics tend to be closely related species that share warning signals due to common ancestry. Batesian mimics, harmless species that copy the look of toxic ones without being toxic themselves, arrived at the same patterns through convergent evolution rather than shared descent.17PubMed. Evolutionary Assembly of Communities in Butterfly Mimicry Rings These mimicry rings are among the most elegant examples of natural selection shaping color in real time.

Eyespots and Deflection

Many butterflies carry circular markings on their wings called eyespots, which have long sparked debate about their function. One hypothesis holds that they intimidate predators by resembling the eyes of a larger animal. Another says they simply deflect attacks toward expendable wing margins and away from the vulnerable body. Experimental evidence supports the deflection idea in at least some species. When researchers exposed Bicyclus anynana butterflies to praying mantis predators, mantids preferentially struck the largest eyespot on the hindwing. Butterflies with larger, brighter eyespots survived longer and had greater reproductive success in the presence of mantids, because attacks landed on wing edges rather than on the body.18PubMed Central. Butterfly eyespots deflect mantid attack

A study of Caligo martia, the owl butterfly, found something similar with wild birds as predators. The large eyespot on the ventral hindwing deflected attacks to non-vital wing areas rather than intimidating birds into not attacking at all. Models with eyespots still got attacked at similar overall rates, but the strikes landed on less dangerous body regions.19Peer Community Journal. The large and central Caligo martia eyespot may reduce fatal attacks by birds: a case study supports the deflection hypothesis in nature Eyespots, then, work less like scarecrows and more like decoys.

Males and Females Often Differ

Sexual dimorphism in color is common across butterfly families, and the reasons vary. In some species, males have more vivid structural colors because females prefer them. In others, females look different because selection has pushed their appearance toward mimicry. A study of Papilio swallowtails found that sexual dimorphism was significantly correlated with female-limited Batesian mimicry, where females mimic toxic model species while males retain the ancestral color pattern.20Europe PMC / Royal Society Publishing. Mimetic butterflies support Wallace’s model of sexual dimorphism In these cases, the sexes look different not because of mate choice acting on males, but because of predator pressure acting on females. Alfred Russel Wallace proposed this explanation in the 19th century, and modern genetic analysis has confirmed it in Papilio.

Color differences between sexes sometimes extend into wavelengths we cannot see. Female Heliconius erato butterflies have true color vision in the ultraviolet range, with the ability to discriminate between UV wavelengths around 380 and 390 nanometers using two distinct ultraviolet photoreceptors. Males apparently lack this ability.21Journal of Experimental Biology. True UV color vision in a female butterfly with two UV opsins This means butterflies may be signaling to each other using UV patterns that are completely invisible to us, and that the full color repertoire of a butterfly wing includes channels of information we only recently learned to detect.

What Butterfly Wings Are Teaching Engineers

The nanostructures responsible for structural color have attracted intense interest from materials scientists and engineers looking to create color without dyes. Dyes fade; nanostructures do not, at least not in the same way. But the sensitivity of butterfly wing structures to their surroundings has also inspired sensor technology. When butterfly wing scales are immersed in different liquid media, the fill material changes the refractive index inside the nanostructure, altering the interference pattern and visibly shifting the color of the scale. Researchers have documented this sensitivity and traced it to the combined action of the microscale shape of the scale and its nanoscale surface features.22Elsevier. Excellent Color Sensitivity of Butterfly Wing Scales to Liquid Mediums This property makes butterfly-inspired nanostructures promising candidates for chemical sensors, where a visible color change signals the presence of a particular substance. The same structural principles that evolved to attract mates and confuse predators are now being adapted for use in optics, anti-counterfeiting coatings, and environmental monitoring.

The photonic structures of butterfly wings have been called among the most anatomically diverse of all those found in nature.11Europe PMC. A review of the diversity and evolution of photonic structures in butterflies, incorporating the work of John Huxley That diversity is what makes them such a rich source of engineering inspiration. A single order of insects has independently evolved multilayers, thin films, diffraction gratings, photonic crystals, and hybrid pigment-structure systems. Engineers are still cataloging the designs and figuring out which ones can be manufactured at scale, but the prototypes already exist, flying around in gardens and rainforests, running on nectar.