Temperature

All objects emit electromagnetic radiation, and the amount of radiation emitted at each wavelength depends on the temperature of the object. Hot objects emit more of their light at short wavelengths, and cold objects emit more of their light at long wavelengths. The temperature of an object is related to the wavelength at which the object gives out the most light.

https://en.wikipedia.org/wiki/Temperature