By the end of the series, however, the three main colors solidified into the following divisions: those in command wore gold, people such as Kirk and Sulu. Science officers and doctors, namely Spock and Bones, dressed in blue, while everyone else had red shirts. And by everyone else, that includes engineers like Scotty and security personnel, which is why they tended to get killed.

But as is so often the case with all things Trek, the uniforms weren’t entirely what creator Gene Roddenberry had in mind. Most notably, the gold uniforms were actually intended to be green, but read on camera as the color that we know today. During production of the never-released follow-up show, Star Trek: Phase II, Roddenberry wanted continuity between TOS and the new series, not only in terms of the cast, which mixed Kirk and Sulu with newcomers, but also production. In particular, Roddenberry brought back his original series costume designer William Ware Theiss.

However, when production shifted and Phase II became Star Trek: The Motion Picture, Theiss was replaced by Robert Fletcher, who designed costumes for the movie crew through Star Trek IV: The Voyage Home. Fletcher maintained some of Roddenberry’s vision for TMP, which tried to match ’70s aesthetics by giving the crew pastel pajamas. But when Nicholas Meyer took over for Star Trek II: The Wrath of Khan, Fletcher designed military-inspired uniforms to match the director’s naval warfare vision.

Although most Trekkies prefer the Meyer movies, Roddenberry hated the militarization of Starfleet and, equally important, resented the way his franchise was taken from him. So when Roddenberry regained some power for The Next Generation, he sought to right the ship, so to speak, by making Starfleet explorers again. And with it, he brought back Theiss.

For the most part, Theiss succeeded where Roddenberry and Fletcher failed in TMP. The TNG uniforms feel like ’80s versions of the ’60s original, especially after they were revised in season 3. However, with the emphasis on division colors came a confusing switch. Once again, science officers and doctors wore blue, but command now wore red while operations wore gold. Also, there’s the skant, but only Lower Decks talks about that now.

So why did the colors change? Once again, the answer is simple and almost mundane. Patrick Stewart apparently didn’t look commanding enough in yellow, while Brent Spiner, in his pale Data makeup, didn’t look good in red.

Danofgeek