[[quoteright:250:http://static.tvtropes.org/pmwiki/pub/images/spectrum_6517.jpg]]
[[caption-width-right:250:Ooh pretty...]]

This is what happens when you mix ColorCodedForYourConvenience with LuckySeven. Not only is a color motif used, but the specific colors involved are red, orange, yellow, green, blue, indigo and violet. These are often identified as the colors of the [[EverythingsBetterWithRainbows rainbow]].

This trope was started by IsaacNewton, who really wanted there to be exactly seven colors to match the number of musical notes, the number of planets ([[ScienceMarchesOn then]]) known to be in our solar system, and days of the week. Isaac was wrong about this one, but since he was such a famous scientist, the belief that the visible light spectrum could be separated into exactly seven parts was widely held for a long time. This gave rise to the popular mnemonic "Roy G. Biv", a person's name constructed from the first letter of each color in order. Another mnemonic, more popular in Britain, is "[[UsefulNotes/WarsOfTheRoses Richard Of York Gave Battle In Vain]]".

Indigo is generally considered the odd man out among the seven, due to it simply being a dark blue.[[hottip:*: There is evidence to suggest that Isaac Newton in fact considered the rainbow colours to be Red, Orange, Yellow, Green, ''Cyan, Blue'', Violet.]] If the creator needs a few more colors to round out the cast, '''black''' and '''white''' are common additions. Alternatively, some creators opt to branch out into the non-visible parts of the electromagnetic spectrum, such as infrared and ultraviolet. Curiously, cyan is missing, creating a conspicuous gap between the primaries green and blue, while indigo and violet replace magenta between red and blue[[hottip:*: (magenta is an odd color; usually if an object reflects multiple pure colors, your brain sees the average color reflected, but if only the edges of spectrum are being reflected, ie red and violet\blue, your brain sees it as magenta rather than green)]]. For printing inks and finer art, cyan, magenta, and yellow are the primary colors.

'''Example:''' The SevenDeadlySins - Wrath, Gluttony, Greed, Envy, Sloth, Lust, Pride often go with red, orange, yellow, green, cyan, blue, purple.

Another way to think of this trope is ChromaticArrangement plus four extra colors.
----
!!Examples

[[foldercontrol]]

[[folder:Anime & Manga]]
* The seven types of dying will flame in ''Manga/KatekyoHitmanReborn''. Each is named after an aspect of weather. Red is storm, orange is sky, yellow is sun, green is lightning, blue is rain, indigo is mist, and violet is cloud.
** Each member of the Arcobaleno has a corresponding color. The name also doubles as the Italian word for rainbow.
* In ''ShichininNoNana'', the main character is [[LiteralSplitPersonality split into seven of herself]], and each girl has a corresponding color. Unlike most cases, indigo is shunted for yellow-green.
* This forms the motif of the seven princesses in ''MermaidMelodyPichiPichiPitch'', with pink, aqua, and deep blue subbing in for red, blue, and indigo, respectively. The second opening of the anime is even called "Rainbow Notes".
* The Seven Rainbow Crystals in ''Anime/SailorMoon''. Fought over in the correct spectral order, needless to say.
* OnePiece's Straw Hat Pirates somewhat, the first 7. Luffy (red), Nami (orange), Usopp (yellow), Zoro (green), Sanji (blue), Robin (purple), Chopper (pink). Later Franky (cyan) and Brook (black) are introduced.
* ''Anime/YuGiOhGX'' has Johan Andersen and the seven Gem Beasts, all of whom are needed to summon Rainbow Dragon.
* YuGiOh5Ds: Dark Signers and their Earthbound God cards are color coded in individual colors of the rainbow.
** Rudger is red
** Carly is orange
** Demak is yellow
** Misty is green
** Kiryu is blue
** Bommer is indigo
** Rex is violet
[[/folder]]

[[folder:Comics]]
* The emotional spectrum in ''GreenLantern'' associates each of the colors with a particular feeling. Red is rage, orange is avarice, yellow is fear, green is willpower/courage, blue is hope, indigo is compassion, and violet is love.
** Black appropriately represents the absence of emotion and death, while white represents life (see BlackestNight and BrightestDay).
** This was parodied in Linkara and Spoony's review of ''Warrior'' #4, where [[spoiler:they become Gray Lanterns, representing apathy.]]
** Star Sapphires are more ''pink'' (or magenta, maybe) than violet. Because integrating them in the rainbow is actually a retcon.
* The real name of ''[[TheFlash Flash]]'' villain Rainbow Raider is Roy G. Bivolo, a reference to the mnemonic.
[[/folder]]

[[folder:Literature]]
* In a particularly impossible Union Club mystery by Creator/IsaacAsimov, we are given a list of names and asked which one would correspond to the nickname "half a ghost". The reader is expected to identify that ghost can mean spectre\spectrum(?!), and then Roy is half of that. Well, three sevenths, but indigo doesn't count.
* In ''Literature/TheSeventhTower'', the Chosen have eight castes: one for each of the seven colors, with Violet at the top, plus a colorless "Underfolk" caste at the bottom for the servants.
* ''ASongOfIceAndFire'' has the Rainbow Guard, Renly's chosen Kingsguard, each one wearing armor of a different color. Despite Renly's [[StraightGay predilections]], it's more of a religious thing - as the Faith of Westeros has seven gods, the rainbow is viewed as a holy symbol the same way a three-leaf clover was associated with the Holy Trinity in real life.
* ''Dragon'' magazine #169 short story "Swordfish and Sorcery". Ilsimar casts a spell that creates colors from a collection of fruits and vegetables: red (strawberry), orange (carrot), yellow (squash), green (mint), blue (blueberries), indigo and purple (plum).
* In ''[[CarnackiTheGhostFinder The Hog]]'', Carnacki uses rainbow-colored rings of light in his Magitek protective circle, and describes the attractive or repulsive effects associated with each color.
[[/folder]]

[[folder:Live-Action TV]]
* ''[[BeakmansWorld Beakman's World]]'' had Roy G. Biv appear as a hippie wearing a tie-dye t-shirt and a rainbow wig.
* The Prism Memory in KamenRiderDouble.
[[/folder]]

[[folder:Music]]
* The song ''[[http://www.youtube.com/watch?v=Gf33ueRXMzQ Roy G. Biv]]'' by TheyMightBeGiants is named after the mnemonic.
* The Boards of Canada song "Roygbiv".
* The Abyss tracks of SoundHorizon's ''Elysion'' are all color coded: Ark (purple), Baroque (blue), Yield (green), Sacrifice (orange) and Stardust(red).
* "[[http://www.mixcloud.com/MrBadAxe/the-rainbow/ The Rainbow]]", a trance mix on [=MixCloud=].
[[/folder]]

[[folder:Tabletop RPG]]
* In ''TabletopGame/{{Paranoia}}'', Alpha Complex's [[FantasticCasteSystem security clearance system]] was based on [[RainbowMotif RoyGBiv]] with two additions: Infrared (black), Red, Orange, Yellow, Green, Blue, Indigo, Violet, Ultraviolet (white).
** There have been jokes (in the actual rulebooks) about breaches of this pattern...but talking about Security Clearance Plaid is of course treason.
*** Rumors of Security Clearance Gamma are also treason. Report all rumors.
** Roy-G-BIV is used as a mnemonic in the rulebook, as the name is in the proper format for a citizen of Alpha Complex (the green-clearance citizen Roy from sector BIV).
* ''TabletopGame/DungeonsAndDragons''
** The following spells give each of the seven colors a different magical effect: Prismatic Spray, Prismatic Wall, Prismatic Sphere, Rainbow (Bow/Arrow and Flagon/Potion options only).
** 1st Edition
*** Adventure [=WG4=] ''The Forgotten Temple of Tharizdun''. The gem eyes in 6 sarcophagi are red, orange, yellow, green, blue and violet: every part of [=RoyGBiv=] ''except'' indigo.
*** In adventure [=WG6=] ''Isle of the Ape'', one puzzle required the {{PC}}s to follow color-coded corridors in [[RainbowMotif RoyGBiv]] order to gain valuable information and avoid a death trap.
*** Subverted in adventure I12 ''Egg of the Phoenix''. A puzzle to open a magical doorway appears to be based on choosing which colors to touch from a [[RainbowMotif RoyGBiv]] palette, but it's a trick.
*** [=WG7=] ''Castle Greyhawk''. Level 5 is filled with {{Shout Out}}s to other {{Tabletop RPG}}s. One room has a variety of creatures each colored one of the [[RainbowMotif RoyGBiv]] colors as a reference to ''TabletopGame/{{Paranoia}}''.
*** T1-4 ''The Temple of Elemental Evil''. The Great Hall on dungeon level three has a magical device with parts colored red, orange, yellow, green, blue, indigo and violet.
** 2nd Edition
*** The color of Wizshades (a type of monster) depended on how old they were. The scale was in reverse [[RainbowMotif RoyGBiv]] order: the youngest were violet, and the oldest were red.
*** ''ForgottenRealms Adventures'' supplement. Torm's priests rub colors into their armor to indicate their rank within the church. The rank colors (in ascending order) are red, orange, yellow, green, blue and purple (violet), missing only indigo.
** 1st and 2nd Edition
*** The Faerie Dragon's color went through almost all of the rainbow colors as it grew older. Starting with red, they passed through orange, yellow, green, blue and violet - all except indigo.
** 3rd Edition ''Creature Collection''. A skyquill's needles come in red, orange, yellow, green, blue and violet, every color except indigo. Each has a different effect on victims.
* ''TabletopGame/VictorianaRPG'' supplement ''Faulkner's Millinery and Miscellanea''. Prismatic Powders come in all seven of the colors, each with a different effect (red = burst into flame, orange = make metal/minerals decay, yellow = blinding flash, green = make plants grow, blue = create fog, indigo = make invisible things visible, violet = levitate objects/creatures).
* ''{{Champions}}'' supplement ''Enemies III''. The supervillain Spectra's powers are color coded in this manner (Red = Ranged Killing Attack, Orange = Energy Blast, Yellow = Flash, Green = Ego Attack, Blue = Mind Control, Indigo = Desolidification, Violet = Regeneration).
* Judges Guild module ''Druids of Doom''. The adventure takes place in a temple to the deity Astokph. The six colors associated with Astokph are red, orange, yellow, green, blue and purple (violet), all of the rainbow colors except indigo.
* ''TabletopGame/{{Rolemaster}}, ''Shadow World'' campaign setting, supplement ''Quellbourne: Land of the Silver Mist''. In the ruined city of Quellburn is the Citadel of Wizards. The Mentalists' Rectangle building has a meditation chamber with floor tiles set in in rings tinted the colors of the rainbow, from red to purple (violet).
* ''TabletopGames/LejendaryAdventures''. The Rainbow Ram power must be one of the seven colors. Each color is effective against a specific material/energy type. Red = wood, Orange = normal door/gate/drawbridge/portcullis, Yellow = Extraordinary protection around individuals or objects, Green = stone, Blue = magical or mundane barriers, Indigo = Extraordinary protection around constructions, Violet = force fields.
[[/folder]]

[[folder:Video Games]]
* The Prism Rangers in ''{{Disgaea 2}}'', but not ''[[{{Disgaea}} Disgaea 1]]'', as only the three primary colors were used in the original game.
* The alter-ego of Hugh Bliss in ''SamAndMax'' was named Roy G. Biv.
* ''VideoGame/TheWorldEndsWithYou''. In the bonus chapter at the end of the game, someone comments that Joshua is the "Roy G. Biv" of Tin Pin strategy.
* The downloadable game ''Peggle Nights'' has a challenge named "Roy G. Biv".
* The Seven Magypsies of ''{{VideoGame/Mother 3}}'' each [[spoiler:(but Fassad)]] wore a color of the rainbow. It doesn't help that they're CampGay.
** [[spoiler:Interestingly, the only Magypsy that doesn't wear one of the colors of the rainbow wears white instead of indigo, making the magypsy seem as if it weren't part of the rainbow.]]
* In the {{Infocom}} game ''VideoGame/HollywoodHijinx'' you can find Roy G. Biv's telephone number and call him up.
* Used by SonicTheHedgehog's chaos emeralds, but in a different configuration than normal. The current setup has orange and indigo traded for cyan and white.
** The Wisps in ''VideoGame/SonicColors'' come in seven colors (not counting the white ones, which are just boost powerups). Here, red and indigo are traded for pink and cyan, with red and black only being available in the DS version.
* The Star Pieces in ''SuperMarioRPG'', with cyan replacing either indigo or violet.
** Also, the Pure Hearts in ''VideoGame/SuperPaperMario''. Though in that case, an eighth, white one is added.
*** There is also the Chaos Heart, which is black.
* In ''VideoGame/SuperMarioGalaxy2'', the worlds on the main world select screen follow these colors. World 1 is blue, 2 is orange, 3 is green, 4 is indigo, 5 is violet, 6 is dual-layered with yellow on top and red below, and World S is rainbow-colored.
* ''VideoGame/RainbowIslands'', natch; the gems (small and large) fit this trope (at least nominally), although the "blue" gems are actually cyan whilst the "indigo" ones are blue.
* The first seven worlds of ''KirbyCanvasCurse'', with the sixth being called "Ultramarine" rather than Indigo.
** Also the first 7 worlds of ''Kirby's Adventure''. Complete with AddedAlliterativeAppeal.
* ''VideoGame/{{Touhou}}'' has the recurring character Alice Margatroid, also [[BossSubtitles occasionally referred to as]] "The Seven-coloured Puppeteer".
* The color of [[spoiler:the sky in each dimension]] in ''{{Eversion}}'' follows the Roy G. Biv pattern turned inside out: Cyan, Blue, Indigo, Green, Yellow, Orange, Red, and Purple.
* In various ''Zelda'' games, the Seven Sages are split up this way. The same goes of the Lokomo Spirits in ''VideoGame/TheLegendOfZeldaSpiritTracks''.
* In ''[[VideoGame/{{Turgor}} The Void]]'', Color is a substance, and comes in seven varieties, six of which correspond to the classical spectrum colors -- Crimson, Amber, Gold, Emerald, Azure and Violet. Indigo is traded for Silver.
* ''VideoGame/{{Photopia}}'' uses the colors of the rainbow as title cards and each section has text in the same color as the current title. The order of colors is: Red, Sea Blue, Gold, Sky Blue, Green, Violet. [[spoiler:And then the very last section reveals that the titular Photopia is a device designed to entertain infants by displaying rainbows of color.]]
[[/folder]]

[[folder:Web Original]]
* Russian superheroine Prezma ("Prism") from the ''GlobalGuardiansPBEMUniverse'' can split herself into seven color-coded duplicates, each one having a different set of light-related powers.
* The trolls in ''{{Homestuck}}'' have this. Their social caste system is based on blood colour, which can be anywhere from red to magenta. Powerful, long-lived, psychic-resistant highbloods are blues and purples, and the unstable, short-lived, psychically-gifted lowbloods are reds and yellows, with the greens and turquoises in the middle class. Each of the twelve trolls we meet fits into the spectrum, save for Karkat, who is a mutant whose blood is a super-saturated, brilliant "candy-red" instead of the more muted red normal trolls have.
* ''Wiki/SCPFoundation''. One of the items provided by [[http://www.scp-wiki.net/scp-261 SCP 261]] was a flashlight with 6 lenses, each a color of the rainbow (although the article didn't say so, presumably the missing color was indigo). When the flashlight was used to shine light on someone, they tasted an appropriate flavor: Red (cherry), Orange (orange), Yellow (banana), Green (lime), Blue (blueberry) and Violet (grape).
[[/folder]]

[[folder:Western Animation]]
* ''RainbowBrite''. The seven Color Kids are named after the [[RainbowMotif RoyGBiv]] scale: Red Butler, Lala Orange, Canary Yellow, Patty O' Green, Buddy Blue, Indigo and Shy Violet.
* The popular super hero cartoon ''WesternAnimation/TeenTitans'' had a character with seriously repressed emotions (necessary because her powers stem from them and require tight control) named Raven. In the episode where the two comedic characters use a mirror to step inside of her mind, we see Raven's true colors... Literally! Each side of her personality (even the parts she tries to hide normally) appears as an image of her but characterized by a different color. Although it is not ''just'' the seven colors of the rainbow, it does make sure to include them. Even the original Raven's cloak is an indigo!
* The seven daughters of Triton in ''Disney/TheLittleMermaid'' each have a different color tail. If we were to arrange them chromatically: Arista (red), Attina (orange), Adella (yellow), Ariel (green), Aquata (blue), Andrina (purple), Alana (pink).
* AngelsFriends:[[spoiler:The new costumes of the eight heroes at the end of season one- by adding pink and replacing indigo by teal.]]
[[/folder]]
----