Ligands causes d orbitals to split. Electrons get excited to higher energy levels from ground state. Visible light is absorbed to promote electron to a higher energy level and the light that is not absorbed is transmitted to give the colour of the ion.