Blackbody radiation

Every object glows with a spread of wavelengths set by its temperature, peaking at a wavelength inversely proportional to the temperature, so a hotter object is brighter at every wavelength and its peak moves from red towards blue.

From AP Physics 2.