For a Django App, each \"member\" is assigned a color to help identify them. Their color is stored in the database and then printed/copied into the HTML when it is needed. T
Basically, this will give you a hashtag, a randint that gets converted to hex, and a padding of zeroes.
from random import randint color = '#{:06x}'.format(randint(0, 256**3)) #Use the colors wherever you need!