pgfplots – How to Use Default Cycle List Color Definitions in pgfplots

bar chartcolorpgfplots

When creating a (bar) plot in pgfplots, tex uses a default list of colors. What are the definitions of these colors?

Best Answer

pgfplots's default color cycle list is available in the pgfplots source code

/pgfplots/bar cycle list/.style={/pgfplots/cycle list={%
    {blue,fill=blue!30!white,mark=none},%
    {red,fill=red!30!white,mark=none},%
    {brown!60!black,fill=brown!30!white,mark=none},%
    {black,fill=gray,mark=none},%
    {violet!80!black,fill=violet,mark=none},%
    {green,fill=green!80!black,mark=none}%
    }
},
Related Question