Colors of matplotib

The color abbreviations are single-letter codes.

Base Colors
Character Hex Color
"b" #0343df blue
"g" #15b01a green
"r" #e50000 red
"c" #00ffff cyan
"m" #c20078 magenta
"y" #ffff14 yellow
"k" #000000 black
"w" #ffffff (white)

The color codes of the default-property cycle are the character "C" followed by one digit.

Default-Property Colors
String Hex Color
"C0" #1f77b4 blue
"C1" #ff7f0e orange
"C2" #2ca02c green
"C3" #d62728 red
"C4" #9467bd purple
"C5" #8c564b brown
"C6" #e377c2 pink
"C7" #7f7f7f gray
"C8" #bcbd22 olive
"C9" #17becf cyan

If the color is the only part of the format string, you can additionally use any matplotlib.colors specification such as full names ("green") or hex strings ("#008000").