That's Not A Rainbow You Are Seeing
What about sun or moon halos or sun dogs? What causes them? They can look like rainbows, but rainbows they are not.
This interesting and informative video by It's Okay To Be Smart explores the cause of these less common atmospheric events.
Have you witnessed halos or sun dogs? If so, we would like to hear about it in the comments.