A rainbow displays seven colors in the following order: Red, Orange, Yellow, Green, Blue, Indigo, and Violet (ROYGBIV). Pink is not part of the natural rainbow spectrum as it is a composite color not produced by the prism-like dispersion of white sunlight.