The color of light emitted by an LED is determined by the semiconductor’s band gap energy (\(E_g\)). The energy of the emitted photon is approximately equal to \(E_g\). This energy is inversely proportional to the wavelength (\(\lambda\)) of the light, according to the Planck-Einstein relation \(E_g \approx hf = \frac{hc}{\lambda}\). By engineering alloys, the band gap can be precisely tuned to produce different colors.











