A body at a particular temperature produces a continous spectrum of wavelengths. In case of a black body, the wavelength corresponding to maximum intensity of radiation is given according to Planck’s law. It can be given by the relation,

Where,
λm = maximum wavelength
T = temperature
Thus, the temperature for different wavelengths can be obtained as:

The numbers obtained tell us that temperature ranges are required for obtaining radiations in different parts of an electromagnetic spectrum. As the wavelength decreases, the corresponding temperature increases.