A rainbow typically contains seven colors: red, orange, yellow, green, blue, indigo, and violet. This sequence of colors is often remembered by the mnemonic "ROYGBIV" and was first popularized by Isaac Newton, who divided the visible spectrum into these seven distinct colors for easier identification. However, the actual number of colors in a rainbow is not fixed, as the spectrum is continuous and human perception can blend these colors seamlessly.
