Chlorine reacts with excess of ammonia to form:
Pure chlorine gas may react vigorously with ammonia gas. An excessive mix of the two gases in the air can produce hazardous compounds such as the explosive nitrogen trichloride. In facilities that use chloramination, the pure chlorine and ammonia need to be stored in separate, sealed rooms or buildings.
When ammonia is excess,
3Cl2+8NH3→6NH4Cl+N2(g)