Matplotlib - colors

https://matplotlib.org/stable/tutorials/colors/colors.html

https://stackoverflow.com/questions/22408237/named-colors-in-matplotlib

https://htmlcolorcodes.com/

SPECIFYING COLORS

Matplotlib recognizes the following formats to specify a color:

HTML COLOR CODES


character   color   hex   rgb   RGB tuple of floats

r     red       #FF0000   (255, 0, 0)   color=(1, 0, 0)
none  maroon    #800000   (128, 0, 0)   color=(0.5, 0, 0)

g     green     #00FF00   (0, 255, 0) Lime   color=(0, 1, 0)
none  (?)       #008000   (0, 128, 0) Green   color=(0, 0.5, 0)

b     blue      #0000FF   (0, 0, 255)   color=(0, 0, 1)
none  navy      #000080   (0, 0, 128)   color=(0, 0, 0.5)

c     cyan      #00FFFF   (0, 255, 255) Aqua   color=(0, 1, 1)
none  (?)       #008080   (0, 128, 128) Teal   color=(0, 0.5, 0.5)

m     magenta   #FF00FF   (255, 0, 255) Fuchsia   color=(1, 0, 1)
none  purple    #800080   (128, 0, 128)           color=(0.5, 0, 0.5)

y     yellow    #FFFF00   (255, 255, 0)   color=(1, 1, 0)
none  olive     #808000   (128, 128, 0)   color=(0.5, 0.5, 0)

k     black     #000000   (0, 0, 0)         color=(0, 0, 0)
none  gray      #808080   (128, 128, 128)   color=(0.5, 0.5, 0.5)
none  silver    #C0C0C0   (192, 192, 192)   color=(0.75, 0.75, 0.75)
w     white     #FFFFFF   (255, 255, 255)   color=(1, 1, 1)