Sunlight holds hidden colors. Raindrops act like prisms, bending light. This bending separates colors, creating a rainbow.
Did you know that in the U.S. we generally count seven colors in a rainbow whereas elsewhere in the world people only count five? We all see the same rainbows but it can be tricky to count the colors ...