A material which changes colour when pH changes occur is known as a halochromic material. The term ‘chromic’ is defined as materials that can change colour reversibly with the presence of a factor. In this case, the factor is pH.
Halochromic substances are suited for use in environments where pH changes occur frequently, or places where changes in pH are extreme. Halochromic substances detect alterations in the acidity of substances, like detection of corrosion in metals.