Uploaded November 2026 | Updated December 2026, 3 days ago
Milk of magnesia, universal indicator, and a few drops of HCl make a reaction that sweeps through every color of the rainbow. Acid-base chemistry and Mg(OH)β solubility make it work. What's happening: a bit of Mg(OH)β dissolves, releasing basic hydroxide ions that causes a pH shift to ~10 (violet). Added HCl neutralizes the hydroxide, and the excess HCl causes a pH shift to ~3 (red). The solid Mg(OH)β then reacts with the HCl, neutralizing it and bringing the pH to 7 (green). Any remaining Mg(OH)β brings the pH back up to pH 10+.
Demo and explanation by Tommy Technetium, chemistry professor.
Milk of magnesia, universal indicator, and a few drops of HCl make a reaction that sweeps through every color of the rainbow. Acid-base chemistry and Mg(OH)β solubility make it work. What's happening: a bit of Mg(OH)β dissolves, releasing basic hydroxide ions that causes a pH shift to ~10 (violet). Added HCl neutralizes the hydroxide, and the excess HCl causes a pH shift to ~3 (red). The solid Mg(OH)β then reacts with the HCl, neutralizing it and bringing the pH to 7 (green). Any remaining Mg(OH)β brings the pH back up to pH 10+.
Demo and explanation by Tommy Technetium, chemistry professor.










