As most users of Stata 18 will know, Stata 18 introduced a new default graph scheme stcolor.
I like this scheme and generally use it unless there is a compelling reason to do otherwise.
The colours may be documented somewhere directly but I ran palette color repeatedly to get explicit definitions of the colours concerned.
I can think of three uses for this list and there may be others.
1. You're just curious to know the exact definitions.
2. You are using Stata 18 (or later, as you read this) but your collaborators are using Stata 17 (or earlier) -- or vice versa. People using Stata 17 and some versions back can't refer to e.g. colour stc1 without error, but they can refer to RGB triples.
3. You are using Stata, but you and/or your collaborators are using other software too, and you wish to standardize graph or more generally image colours. (A simple local example is also using some GIS.)
I like this scheme and generally use it unless there is a compelling reason to do otherwise.
The colours may be documented somewhere directly but I ran palette color repeatedly to get explicit definitions of the colours concerned.
Code:
("stc1" = "26 133 255"%100) ("stc2" = "212 17 89"%100) ("stc3" = "0 191 127"%100) ("stc4" = "255 212 0"%100) ("stc5" = "79 44 153"%100) ("stc6" = "255 99 51"%100) ("stc7" = "77 183 255"%100) ("stc8" = "124 0 21"%100) ("stc9" = "15 239 175"%100) ("stc10" = "250 163 7"%100) ("stc11" = "117 139 253"%100) ("stc12" = "254 217 183"%100) ("stc13" = "8 35 76"%100) ("stc14" = "248 141 173"%100) ("stc15" = "15 81 86"%100) ("stblue" = "26 133 255"%100) ("stgreen" = "0 191 127"%100) ("stred" = "212 17 89"%100) ("styellow" = "255 212 0"%100)
1. You're just curious to know the exact definitions.
2. You are using Stata 18 (or later, as you read this) but your collaborators are using Stata 17 (or earlier) -- or vice versa. People using Stata 17 and some versions back can't refer to e.g. colour stc1 without error, but they can refer to RGB triples.
3. You are using Stata, but you and/or your collaborators are using other software too, and you wish to standardize graph or more generally image colours. (A simple local example is also using some GIS.)