The spectral power distribution of a blackbody radiator is a function of wavelength λ (in meters) and temperature T (in kelvin). This function is described by Planck's formula:

where:

You can use the CIE Spectral Display Calculator to see plots of the blackbody curve at any temperature.
Implementation Notes: