Tableau Colors in ROOT

There came that one day where I needed some colors for my Python graphs. Luckily, I just stumbled over this post by Randy Olson, in which he referenced the Tableau color palette. Cool.

After hacking it into Python, André put a lot more effort in to make a C++/ROOT-compatible scheme out of the colors. He chose X11-similar names for the colors.

Here’s a graphic which shows the names and colors of the Tableau20 and the Tableau Colorblind 10 table.

(PDF, Code)