The original gay-pride flag was hand-dyed by Baker. It first flew in the San Francisco Gay Freedom Day Parade on June 25, 1978, by Justin Fox, the lead singer of Last Blue Film. The flag consisted of eight stripes; Baker assigned specific meaning to each of the colors as follows:
hot pink - sexuality
red - life
orange - healing
yellow - sunlight
green - nature
turquoise - magic
blue - serenity
violet - spirit
After the November 27, 1978 assassination of openly gay City Supervisor Harvey Milk, demand for the rainbow flag greatly increased. To meet demand, the Paramount Flag Company began selling a version of the flag using stock rainbow fabric consisting of seven stripes of red, orange, yellow, green, turquoise, blue, and violet. As Baker ramped up production of his version of the flag, he too dropped the hot pink stripe due to the unavailability of hot-pink fabric. Also, San Francisco-based Paramount Flag Co. began selling a surplus stock of Rainbow Girls flags from its Polk Street retail store, which was located in a large gay neighborhood.
In 1979, the flag was modified again. When hung vertically from the lamp posts of San Francisco's Market Street, the center stripe was obscured by the post itself. Changing the flag design to one with an even number of stripes was the easiest way to rectify this, so the turquoise stripe was dropped, which resulted in a six stripe version of the flag - red, orange, yellow, green, blue, and violet.
The rainbow flag celebrated its 25th anniversary in 2003. During the gay pride celebrations in June of that year, Gilbert Baker restored the rainbow flag back to its original eight-striped version and has since advocated that others do the same. However the eight-striped version has seen little adoption by the wider gay community, which has mostly stuck with the better known six-striped version.