The correct order of colors in a rainbow is red, orange, yellow, green, blue, indigo, and violet.