I've also discovered some '70s era books on mythological creatures that seem to indicate Gary might have drawn the colored dragons from Indian (Vedic?) folklore. Green dragons living in trees and breathing toxic gas. Black dragons dwelling in swamps and having a line of yellow, acidic breath. Red dragons breathing fire and living in mountains. And blue dragons dwelling in deserts and gathering the lightning from storms to use themselves.
Chinese Dragons also come in a variety of colours, though they tend to represent ideals rather than being coded in the manner of DnD dragons. The habitat associations arent there, nor the breath weapon or alignment.
Gold: The most revered color, linked to divine power, Earth element, imperial authority, wisdom, and wealth.
Red: Fire Element, a symbol of Warriors, good fortune, happiness, and power, making it a common sight during festivals and celebrations.
Green: Wood Element, representing growth, renewal, and health, often associated with nature and spring.
Blue: Water Element, represents the vastness of the sky and water, symbolizing power and the life-giving force of rain.
Black: Water Element, symbolizes the hidden realms of the earth or represent the balance between light and shadow.
White: Metal Element, representing purity or transformation, can also be seen as harbingers of death in some traditions.
Personally I think the DnD system of colour coded dragons is dumb so I dont use it