An electron gets excited to a higher energy d orbital from a lower energy d orbital. The frequency of light absorbed is proportional to the excitation energy.
This frequency is usually in the visible range.
The color seen corresponds to the complementary color of the light absorbed.