Hydrochloric acid is colourless. When magnesium is added to hydrochloric acid, the magnesium reacts with the acid to produce hydrogen gas. The hydrogen gas bubbles out of the solution, causing it to fizz. There is no change in the colour of the solution.