The color of the petals of the hydrangea is formed by molecules that behave as acid-base indicators. The color is influenced by the pH of the soil in which the hydrangea is grown. The plant (a) was grown in soil with lower pH (more acidic) than plant (b).