If you’ve poured a stout beer into a pint glass, you may have wondered about the or physics behind the rapid rise of bubbles and three-color shift when dark, medium and light shades are all clearly visible, before it transitions to simply beer and foam.