I got this from a book anyway
An astronomer called William Herchel used some very accurate and sensitive mercury thermometer, he placed one in front of a spectrum of light and found that as he moved it across the bands of different colors from violet to red,the temperature rose.
this...