Dear Student
In the transition metal ions the electrons can be promoted from one energy level to other energy level in the same d-subshell.this phenomenon is called d-d-transition.by this property only transition elements shows colour.
e.g - t2g to eg transition. or eg to t2g transition
Regards