The rainbow has millions of colors which cover the visual spectrum. However, most people see a smaller number of colors. I learned seven colors in school, and they are easily remembered using the acronym ROY G BIV. There are probably other ways to remember the colors, but this works for me.
The colors of the rainbow with RGB – red/green/blue – color values are below.