Farbname zu Hex Python

import matplotlib
print(matplotlib.colors.cnames["blue"])
  --> u'#0000FF'
  
Precious Panda