Matplotlib Colors Scales as Hex Codes

There are plenty of nice color scales that can also function as color schemes. I just lacked an easy to use list of them to copy discrete hex values.

There is the overview of Vega color schemes that features all the discrete and continuous schemes. It also supports to display continuous scales as discrete ones. It even has the hex codes as tooltips, but they cannot easily be copied.

Matplotlib has a similar overview, but it doesn't show discrete values or hex codes.

So I've just set out to create my own overview. Here you can click on any of the boxes and have the hex value in the clipboard!

Perceptually Uniform Sequential

viridis











plasma











inferno











magma











cividis










Sequential


Greys











Purples











Blues











Greens











Oranges











Reds











YlOrBr











YlOrRd











OrRd











PuRd











RdPu











BuPu











GnBu











PuBu











YlGnBu











PuBuGn











BuGn











YlGn










Sequential (2)


binary











gist_yarg











gist_gray











gray











bone











pink











spring











summer











autumn











winter











cool











Wistia











hot











afmhot











gist_heat











copper










Diverging


PiYG











PRGn











BrBG











PuOr











RdGy











RdBu











RdYlBu











RdYlGn











Spectral











coolwarm











bwr











seismic










Cyclic


twilight











twilight_shifted











hsv










Qualitative


Pastel1

Pastel2

Paired

Accent

Dark2

Set1

Set2

Set3

tab10

tab20

tab20b

tab20c