New Tool Radar

AI Design Workflows

How to Check Rainbows in AI-Generated Images

Check the colour order, the ends, and the sun in a rainbow in an AI-generated image before you use it, because the colours can run backwards and the arc can end in mid-air.

Schematic diagram: three steps to check rainbows in AI-generated images — colour order, arc ends, sun position — with a practice example showing the left end of the arc stopping in mid-air above the lake.

Before you use an AI-generated image that shows a rainbow, check the colour order, the ends of the arc, and where the sun sits — because a generator can paint a bright arc while the colours run backwards, one end stops in mid-air, or the sun is drawn in the same part of the sky as the rainbow.

Why this needs its own check

A rainbow’s colours never change their order. In a primary rainbow, the arc shows red on the outer part and violet on the inner side, and the colours vary smoothly from red on the outside to violet on the inside. The order is the same every time: red, orange, yellow, green, blue, indigo, violet, from the outside to the inside — which is why the mnemonic Roy G. Biv works at all.

The second arc has its own rule, and it is the opposite one: in a double rainbow, a second arc is seen outside the primary arc, with the colours in reverse order — red on the inside, violet on the outside — and it is fainter and larger than the primary arc. A generator that paints two arcs with the same colour order, or a second arc brighter than the first, has broken both rules at once. Adobe Firefly’s help page says you enter a detailed description in the Prompt field and select Generate to generate a set of image variations. Generating the rainbow is the easy part. Reading its colours from the outside in is the work.

Make a list of what to check

For the practice image below, the fictional image is a Maple Corner rainbow poster, from a fictional brief for a fictional cafe called Maple Corner, at the fictional address 12 Maple Lane. The brief asked for one primary rainbow over the lake after rain, with the sun behind the viewer. Check these four parts of the rainbow:

  • Colour order
  • Arc ends
  • Double rainbow
  • Sun position

Check the image and write down what you find

Open the image large enough to see the smallest details. Go through your list one item at a time, and write down what you actually see — not what you expected to see. If a detail is too small or too blurred to judge, write “unreadable” and do not guess.

Practice rainbow check: a fictional Maple Corner rainbow poster

The cafe below is fictional. It was not generated by a tool for this guide; it is a practice set so you can see how the check works. The “As shown” column is the fictional image’s wording, not a real tool output.

Rainbow to check What it should be As shown in the image Result
Colour order Red on the outside of the arc, violet on the inside Red on the outside, violet on the inside Pass
Arc ends Both ends of the arc reach the ground, or the water The left end stops in mid-air above the lake Fail — arc ends in mid-air
Double rainbow No second arc, as the brief asked for one rainbow Only one arc Pass
Sun position The sun is behind the viewer, and the rainbow is opposite the sun The sun is drawn in the sky in front of the rainbow Fail — sun in front of the bow

Only 2 of the 4 checks pass: the colour order and the single arc. The other 2 fail: an arc that ends in mid-air, and a sun drawn in front of the rainbow. Do not use a rainbow image where the arc ends in mid-air. Regenerate it, or ask for the rainbow with its colour order and its ends written out plainly.

What to do when something is wrong

If the colours are right and the arc is wrong, do not try to fix it by asking for a double rainbow: a second arc only gives the generator a second colour order to reverse. The safest fix is to regenerate with the rainbow written out plainly — one arc, red outside and violet inside, both ends reaching the water, sun behind the viewer — and check the new image the same way.

Expected result. We checked the Firefly generate images help page. We did not run Adobe Firefly on the Maple Corner rainbow poster.

Limits

This check compares a rainbow in an image against the colour order, the ends of the arc, the second arc, and the sun’s position you asked for. It does not check whether the rainbow matches the weather for the scene, whether a rainbow that passes this check has the right number of bands, or whether the rain that made it is shown anywhere in the image. It also does not fix the image: a Fail tells you the image is not ready, not how to repair it. Rainbow rendering changes between models and over time, so a check that passes today does not guarantee the next image from the same tool will pass.

Sources

See all