The frequency of light increases from red towards violet. Because the energy of a photon is [tex]E=hF[/tex] this is as saying that the energy increase from red towards violet. The wavelength is [tex]\lambda =c*T=c/F (distance = speed*time)[/tex] Thus the wavelength is inversely proportional to the frequency, and it decreases from red towards violet.