They are supposed to designate "rarity" I think...
From common to rare....
White
Blue
Purple
Yellow
Red
Yellow and purple may need to be swapped. I'm not 100% certain about the order of those two.
I have yet to see a green.. or hear about anyone with a green. Not sure if green exists.