(Dragonlance Campaign Setting, page 71, DnD 3.5)
Once a wizard successfully completes (and survives) the Test of High Sorcery, his choices dictate his robe color and which deity of magic grants him power.