my_colors = ['g', 'b'] * 5
my_colors = [(0.5, 0.4, 0.5), (0.75, 0.75, 0.25)] * 5
my_colors = [(x / 10.0, x / 20.0, 0.75) for x in range(len(df))]
How to give a pandas/matplotlib bar graph custom colors