# How colored light can be explained if light is considered as emission of photon?

If light is considered as wave, then different colored light can be explained as waves of different wavelength/frequency. How colored light can be explained if light is considered as emission of photon?

-

The Energy of the Photon defines its frequency. It is the equation $$E=h\nu$$ which puts this in mathematical terms. Where $h$ is Planck's constant, $E$ the Energy and $\nu$ the frequency. This can also be written in terms of wavelength of the photon as $$E=\frac{hc}{\lambda}$$ So blue (high frequency, short wavelength) light has high energy, red (low frequency, large wavelength) has lower energy