Here's why:
* Pyrogallol itself is a colorless solid.
* When dissolved in an alkaline solution (like sodium hydroxide), it undergoes a rapid oxidation reaction with oxygen from the air.
* This oxidation process produces brown-colored compounds, giving the solution its distinctive color.
This reaction is often used in chemistry experiments to demonstrate the absorption of oxygen. It's also used in photography as a developer.