Photographing rainbows is not completely straight-forward. Firstly, one needs a rainbow. Secondly, a rainbow is not as perfectly sharp as the spectrum produced by a prism or a diffraction grating can be. Thirdly, the clouds behind it are rarely as uniform as one would like. But we should see if the rainbow theory works.

If one wishes to photograph the whole bow, quite a wide-angled lens is needed. The primary bow has a width of about 85°, but this maximum width will be seen only if the Sun is on the horizon. The secondary bow has a diameter of about 108°. In terms of 35mm camera focal lengths, one needs about 20mm for the primary bow if the Sun is very low, and around 13mm for the secondary.

A rainbow

The above image was taken with a 15mm lens, and the bottom of the picture was then cropped off. The secondary bow is faintly visible, and is just wider than the image. The image is about 100° wide. The Sun was just under 10° above the horizon

The claim that the sky immediately inside the bow is brighter than that immediately outside is not immediately obvious, and the hole in the clouds in the centre of the image confuses matters. However, converting the image to greyscale may make things clearer.

A rainbow converted to greyscale

Perhaps it is now more convincing that the area between the primary and secondary bows is darker than that under the primary bow, particularly at the two ends where the bow is at its brightest.

(What governs the brightness of a part of the bow? Mostly the length of the path in that direction for which there is both direct sunlight and raindrops. A more quickly rising line of sight will more quickly move into the shadow of the cloud which is producing the rain, and then into the cloud itself.)

One can also consider a close-up of one of the ends of the rainbow.

The end of a rainbow

The end of a rainbow converted to greyscale

There is little doubt that the sky is brighter immediately inside the primary rainbow than it is outside.

A web search may well find much better images of rainbows. This was the first reasonable rainbow I saw after writing the theory page.