Answers for "color name to hex python"

1

color name to hex python

import matplotlib
print(matplotlib.colors.cnames["blue"])
  --> u'#0000FF'
Posted by: Guest on July-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language