Wein's law 

Black-body radiation has a particular continuous spectrum. The Graph shows intensity versus wavelength. The curve can be scaled for intensity to fit any size of source and scaled for wavelength to fit a source of any temperature.

The peak for sunlight is in the visible region (it has to be!). There is a 'cut off' in the UV and a long upper tail in the infrared. The peak wavelength is given by a simple formula known as Wein's law.

 > More