The electronic spectra of transition metal complexes can arise from two types of transitions: d-d transitions and charge transfer transitions. D-d transitions involve electron movement within the d-orbitals of the metal, while charge transfer transitions move electrons from the metal to the ligand or vice versa. Charge transfer complexes form when partial charge is transferred between molecules or parts of a large molecule, resulting in electrostatic attraction. They have characteristic intense colors due to electronic transitions in the visible light range. Examples of charge transfer complexes include iodine-starch complex and potassium nitrate.