What is the principle behind the use of color changes in acid-base indicators?
A) The color change occurs due to the temperature variations affecting the chemical bonds in the indicator.
B) The color change is caused by the pH-dependent equilibrium shift in the indicator, which alters the absorption of light.
C) The color change results from the reaction between the indicator and metal ions in the solution.
D) The color change is due to the vaporization of the indicator in the presence of an acid or base.