A rainbow is usually considered to have the 7 colors, in the following order: red, orange, yellow, green, blue, indigo, violet.