Red: r=255
(orange: r=255, g= 128)
Huang: r=255, g=255.
Green: g=255
Cyan: g=255, b=255
Blue: b=255
Purple: b=255, r=255.
The above is the composition of red, orange, yellow, green, blue and purple in the three primary colors. If the orange above is removed, you will find that the values of the other six colors are all 255, and orange (r=255, g= 128) should be between red (r=255, g=0) and yellow (r=255, g=255).
I've never heard of indigo. According to the following description, it is between blue and purple, estimated as (b=255, r= 128). Comparing indigo with cyan, indigo looks similar to orange, and cyan is one of the six important colors after orange is removed, so personally, cyan is more important than indigo, which should be red, orange, yellow, green, blue and purple.