Why does a soap bubble show changing colors?
A soap bubble's colors usually arise from interference between light reflected from the front and back surfaces of its thin liquid film. Depending on thickness and viewing angle, some wavelengths are strengthened while others are suppressed. A colorless solution can therefore show moving colored bands under white illumination without containing pigments of all those colors.
Mechanism and everyday examples
1. What structure does the film have? The wall of a soap bubble is a very thin water layer with surface-active molecules on both sides. Soap changes surface tension and surface behavior, helping the film survive briefly. Some light reflects from its outer boundary, while some enters, reflects at the other boundary, and returns outward. The difference between these paths is small enough to be comparable with wavelengths of visible light, making wave effects important to the appearance. 2. How does interference select colors? When light waves overlap, their electric fields add together. Suitable phase differences strengthen certain wavelengths and weaken others. The relevant optical path is not determined by physical thickness alone: refractive index, angle of incidence, and phase changes during reflection matter too. There is consequently no universal table assigning one color to each thickness regardless of viewing geometry. The same portion can look different when illumination or observation direction changes. 3. Why do the colors keep moving? Liquid drains downward under gravity, surface flows develop, and water may evaporate. Different parts of the film become thinner at different rates. The changing optical path changes which wavelengths are reinforced, making the colors seem to travel. Small air movements can influence this pattern. Describing all the bands as flowing dye is incorrect; what you largely observe is a changing map of thickness rather than a set of separate colored liquids.
Observation, applications and misconceptions
4. Why can a bubble darken before bursting? When the film becomes extremely thin, reflections from its two surfaces can cancel across much of the visible range. These regions look dark. Not every dark area has identical thickness, because illumination and background also affect the view. Darkness does not mean that no molecules remain or that a perfect vacuum has formed. The film is still present, but it sends less visible light back toward the observer. 5. How does this differ from a rainbow? In a rain rainbow, refraction and reflection inside droplets distribute light into different directions. Interference between reflections from nearby film surfaces is a different mechanism. Both can make components of white light appear separately, giving superficially similar colors. Oil films and some optical coatings are more closely related to bubble interference. Similar colors alone do not establish that every phenomenon arises through the same physical process. 6. What do observation and applications teach? Changing viewing angle under white illumination demonstrates the dependence of color on geometry. Single-color illumination does not produce the same broad range of colors; bright and dark regions may dominate instead. Engineers use related principles in thin coatings that reduce lens reflections or selectively reflect wavelengths. Bubble color can provide information about thickness, but quantitative measurement also requires the illumination spectrum and viewing geometry. Detergent should be kept away from eyes and mouths during observation.