Structural Color
Nanoscale physical structures create vivid color without pigment. A thin film — soap bubble, oil slick, butterfly wing — splits light into reflected beams that interfere constructively for some wavelengths and destructively for others. The color you see depends on film thickness, refractive index, and viewing angle. Tilt and the color shifts: iridescence.
2nt cos(θ) = mλ
Color without pigment
Most colors in nature come from pigments — molecules that absorb certain wavelengths and reflect the rest. Structural color is different. It arises from the physical structure of a surface at the nanometer scale: thin films, diffraction gratings, photonic crystals. Because the color comes from geometry rather than chemistry, it never fades. A 45-million-year-old beetle fossil still shimmers with the same metallic green it had in life, because the nanostructure survived even as every organic molecule decomposed.
Thin-film interference
When light hits a thin transparent film, some reflects off the top surface and some off the bottom. The two reflected beams travel slightly different distances. If the path difference equals a whole number of wavelengths, the beams reinforce (constructive interference) and that wavelength is bright in reflection. If it equals a half-integer number, they cancel (destructive interference). The condition is 2nt cos(θ) = mλ, where n is the refractive index, t is the thickness, θ is the angle inside the film, and m is an integer. Different wavelengths satisfy this condition at different thicknesses, which is why soap bubbles show rainbow bands of varying thickness.
Morpho butterfly wings
The brilliant blue of Morpho butterfly wings contains no blue pigment. Instead, the wing scales have a Christmas-tree-like nanostructure of alternating layers of chitin and air, each about 60–80 nm thick. These multilayer stacks selectively reflect blue wavelengths through constructive interference. The effect is so strong that Morpho wings are visible from a quarter mile away. Engineers have replicated this structure in anti-counterfeiting inks and fiber-optic sensors.
Iridescence
Because the path-length condition depends on cos(θ), the reflected color changes with viewing angle. This is iridescence — the color shift you see when tilting a soap bubble or CD. Peacock feathers use a 2D photonic crystal of melanin rods in keratin to produce angle-dependent greens, blues, and purples. The Pollia condensata berry — the most intensely colored biological structure known — uses a helicoidal cellulose structure that selectively reflects circularly polarized light, producing a metallic blue that never fades.
The simulation
This simulation calculates thin-film reflectance across the visible spectrum (380–780 nm) for a single dielectric layer. For each wavelength, it computes the phase difference from the optical path 2nt cos(θ), applies the Fresnel amplitude reflection coefficients, and sums the reflected intensity. The resulting spectrum is converted to an RGB color via CIE color-matching functions. The cross-section diagram shows incident and reflected rays, the film layer, and the constructive/destructive interference. Drag the angle slider or use presets to see how different materials produce different color sequences as thickness varies.