An aqueous blue coloured solution of a transition metal nitrate reacts with H2S in acidic medium to give a black precipitate (X), which dissolves in KCN solution forming a clear solution of (Y). The blue solution on reaction with KI in weakly acidic medium becomes intensely brown and produces a white precipitate (Z).
The electron configuration of the transition metal ion is