Thin-film interference is a natural phenomenon in which light waves reflected by the upper and lower boundaries of a thin film interfere with one another, increasing reflection at some wavelengths and decreasing it at others. When white light is incident on a thin film, this effect produces colorful reflections.
Thin-film interference explains the multiple colors seen in light reflected from soap bubbles and oil films on water. It is also the mechanism behind the action of antireflection coatings used on glasses and camera lenses. If the thickness of the film is much larger than the coherence length of the incident light, then the interference pattern will be washed out due to the linewidth of the light source.
The reflection from a thin film is typically not individual wavelengths as produced by a diffraction grating or prism, but rather are a mixture of various wavelengths. Therefore, the colors observed are rarely those of the rainbow, but rather browns, golds, turquoises, teals, bright blues, purples, and magentas. Studying the light reflected or transmitted by a thin film can reveal information about the thickness of the film or the effective refractive index of the film medium. Thin films have many commercial applications including anti-reflection coatings, mirrors, and optical filters.