Limitations of the theory
Hydrochloric acid is neutralised by both sodium hydroxide solution and ammonia solution. In both cases, you get a colourless solution which you can crystallise to get a white salt - either sodium chloride or ammonium chloride.