When you use a universal indicator, you see that solutions of different acids produce different colours. Indeed, solutions of the same acid with different concentrations will also give different colours, Why?
Indicators are substances whose solutions change colour due to changes in pH. These are called acid-base indicators. When a universal indicator is added to a solution, the colour change can indicate the approximate pH of the solution. Acids cause universal indicator solution to change from green toward red. Bases cause the universal indicator to change from green toward purple.
The colour change of a pH indicator is caused by the dissociation of the H+ ion from the indicator itself. pH indicators are not only natural dyes but also weak acids. The dissociation of the weak acid indicator causes the solution to change colour.