Write the names and chemical formulae of the compounds containing the following ions. State their colours in solid state.
a) Magnesium ion and chromate ion
b) Hydrogenphosphate ion and sodium ion
c) Ammonium ion and Carbonate ion
d) Nitrite ion and Copper(II) ion