A bubble's wall is thinner than light's wavelength
The colours swimming across a soap bubble are not dye. They come from light bouncing off both the outer and inner faces of the film and interfering with itself, and the shade depends entirely on the film's thickness. As gravity drains the liquid downward, the top thins until it is only ten to twenty nanometres across, far thinner than a wave of visible light. There the reflections cancel completely and a black patch appears, the silent warning that the bubble is about to burst.