Choosing colors for charts: examples and references

Reading Time:

After ColorBrewer, now a very popular helper, what's next? Using these two tools, I stored several colors I want to use in my charts made in Stata and R:

I have edited and posted a STATA scheme written by Gray Kimbrough. It can be used by running set scheme simple in Stata.

The edits used in the scheme are related to these colors, included here with HEX and RGB codes for future reference:


In general, I have also found these 6 six colors to work well:

  • #7A5776
  • #6B7A9F
  • #469FB4
  • #38C2AF
  • #74DE95
  • #C9F375


Out of sample predictions from OLS regressions: a K-folds tutorial in R

Evaluating predictions out of sample, OOS. Splitting datasets into training and test, holdout data using R....

How Democrats, Republicans, and Independents view 16 groups

Here are thermometer ratings from the 2017 VOTER Survey, broken down by party ID. A static version of this chart was posted here. if("undefined"==typeof...