Cyanogen is the chemical compound with the formula (CN)2. It is a colourless, toxic gas with a pungent odour. The molecule is a pseudohalogen. Cyanogen molecules consist of two CN groups — analogous to diatomic halogen molecules, such as Cl2, but far less oxidizing.