A solution which on treatment with hydrochloric acid produces a colourless, odourless gas which turns…