It is very easy to recreate this experiment. All you need is an equilateral glass prism, 3 alcohol thermometers, a white piece of paper and a box. The cost of the prism we used was about $7.50 and the thermometers were 75 cents a piece. You will need to blacken the bulbs of the thermometers to make this experiment work. To do this we painted the bulbs with flat black paint. The bulbs of the thermometers were blackened to better absorb heat.
In the above image you can see how to set up this experiment for use outdoors. We placed a white piece of paper at the bottom of a cardboard copy paper box. Next we rotated the prism until a good wide spectrum appeared on the white paper at the bottom of the box. To get a good spectrum we had to tilt the box up on the prism end by placing a flat rock under it.
First check the temperature of the thermometers away from the spectrum in the shaded area of the box. The above image shows the temperature before the thermometers are placed in the spectrum. All 3 read 76 degrees, which is the outdoor shade temperature.
Now let's place the thermometers in the spectrum. We will place the left bulb in the blue part of the spectrum, the middle bulb in the yellow part of the spectrum, and the right bulb just past the red part of the spectrum in a region where there is no visible light.
The above image shows the temperature readings after about 1 minute. It takes a few minutes for the temperatures to reach their final value. Within 1 minute you can already see a difference in temperature. The thermometer in the blue part of the spectrum shows the lowest reading which is not much higher than the shade temperature. The yellow part of the spectrum is showing a much higher temperature than the blue. The thermometer on the right, which is in the dark region just past the red, is showing the highest temperature of all 3 regions. (The sun had moved slightly by the time this picture was taken, and hence the right-most bulb just started to have a small portion of the red spectrum shining on it).
The differences between the 3 temperature readings continue to grow larger until the final temperatures are reached (shown above). You can now see that the dark area shows a much higher temperature than the areas which are in regions of visible light.
Note: The differences between the temperatures of the colors of the spectrum vary with the width of the spectrum, which depends on time of day, and the distance from the prism. In all cases the trend of temperature increasing from blue to infrared should still appear.
Herschel's experiment was important not only because it led to the discovery of infrared light, but also because it was the first time that someone showed that there were forms of light that we cannot see with our eyes. As we now know, there are many other types of light that we cannot see and visible colors are only a very small part of the entire range of light which we call the electromagnetic spectrum.