Never heard of such a mnemonic in German, nor the concept of a rainbow consisting of 7 specific colors. A rainbow contains all colors, so it's pretty arbitrary which of them you list.
Obviously, we do teach kindergarteners to draw rainbows, but you usually just use all color pencils you have. You probably don't have an indigo pencil, or it would be called "dark blue" or "lilac" here.