The color of transition metal complexes arises from the electronic transitions of d-electrons in the presence of ligands, which influence the energy levels of these electrons. When light hits these complexes, some wavelengths are absorbed to promote electrons from a lower energy d-orbital to a higher one, while the remaining wavelengths are transmitted or reflected, giving the complex its observed color. This phenomenon is closely related to the spectrochemical series and Jahn-Teller distortions, which affect how ligands interact with metal ions and influence their electronic structure.