PH
Certain dyes change colour depending on whether they are in an acid solution or an alkaline solution . pH indicator is a chemical compound added in small amounts to a solution so the pH (acidity or basicity) of the solution can be seen. The pH indicator is a chemical detector for hydronium ions (H3O+) or hydrogen ions (H+). Normally, the indicator causes the colour of the solution to change depending on the pH.