How do I make it so that different bars of my bar chart have different colors using HTML hexadecimal values? I already know that I can make the whole bar chart one color via hexadecimal values. It's done like this:
import pylab as plt
plt.xlim(0, 10)
plt.barh([1, 2, 3], [1, 2, 3], align='center', color='#ff0000')
plt.show()
Which produces this figure:
But how can I make it, so that matplotlib produces a figure using hexadecimal values for each different bar, as follows:

