# Newton's soap bubbles reveal why thin films shimmer in color

Original title: The Colors of a Soap Film

> Hacker News story 50218199 · language: en · submitted 2026-10-24
> Web version: https://zeli.app/story/50218199
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 43 · by [gregsadetsky](<https://news.ycombinator.com/user?id=gregsadetsky>) · 💬 7
[original](<https://aseemrb.me/blog/colors-of-a-soap-film/>) · [HN discussion](<https://news.ycombinator.com/item?id=50218199>)

## Summary

A soap film thinner than a micrometer reflects light as a single cosine in wavenumber, so its color is simply white minus the cosine transform of the CIE color-matching functions evaluated at the optical path difference 2nd. The computed colors match the thickness table Newton compiled from watching bubbles under a glass cover. The model also explains the black spot where the two reflections cancel, and the purple bands that separate successive interference orders.

## Key quote

> At d = 0 the cosine equals 1 at every wavelength, so the film reflects nothing: the two reflections cancel exactly.

## HN discussion (7 comments)

### [JKCalhoun](<https://news.ycombinator.com/item?id=50276354>)

> Loved the small book "Soap-Bubbles and the Forces Which Mould Them" [1], [2], [3] by C. V. Boys.
>
> He talks about the colors of soap bubbles (among other things). After reading it I watched a large bubble-sheet exhibit at the Exploratorium in San Francisco with fascination—noting how the colors were different at the top of the film, (where it is thinner) compared with the lower part of the film (where it is thicker).
>
> As the bubble begins to evaporate and get thinner, it eventually becomes colorless (black, I suppose) just before popping.
>
> Aside from the section on color, the whole book is a beautiful example of reasoning, the scientific method, etc. (as though presented to Physics students—but it is nonetheless easy for the layman to follow along).
>
> [1] https://archive.org/details/soapbubblestheir0000cvbo/
>
> [2] https://archive.org/details/SoapBubbles-English-C.V.Boys/
>
> [3] https://www.gutenberg.org/ebooks/33370

### [schobi](<https://news.ycombinator.com/item?id=50276242>)

> Invert the process - That would allow you to build a thickness gauge from just white light and 3 sensors. Or maybe add a few more (there are multislectral sensors from ams osram) for robustness.
>
> Not sure why you would need that though..
>
> Similar effect in devices to measure polarization of light. You introduce white light and crossed polarization filters. Depending on the amount of rotation similar colour patterns emerge. I haven't seen an automatic device yet, but manual evaluation of the colors

### [grenoire](<https://news.ycombinator.com/item?id=50272314>)

> What a lovely gradient pattern.

---

## Cite

- Page: https://zeli.app/story/50218199
- Date: 2026-10-24
- Source: aseemrb.me (https://aseemrb.me/blog/colors-of-a-soap-film/)
- Hacker News: https://news.ycombinator.com/item?id=50218199

## Other languages

- zh: https://zeli.app/zh/story/50218199 · markdown: https://zeli.app/zh/story/50218199.md
- ja: https://zeli.app/ja/story/50218199 · markdown: https://zeli.app/ja/story/50218199.md
- ko: https://zeli.app/ko/story/50218199 · markdown: https://zeli.app/ko/story/50218199.md
- de: https://zeli.app/de/story/50218199 · markdown: https://zeli.app/de/story/50218199.md
- es: https://zeli.app/es/story/50218199 · markdown: https://zeli.app/es/story/50218199.md
- ru: https://zeli.app/ru/story/50218199 · markdown: https://zeli.app/ru/story/50218199.md
