Color palettes, symbol palettes, and line pattern palettes for Stata graphs


The palettes package contains Stata commands colorpalette, symbolpalette, and linepalette. The commands are used by grstyle to manage colors, symbols, and line patterns. They can also be used directly to view or retrieve a palette.

Stata 9.2 or newer is required. Some features may require newer Stata versions.


To install the commands on your system, run command

ssc install palettes, replace

in Stata. Thereafter, type

help palettes

to view the help file. To check for updates, type

adoupdate palettes

Alternatively, you can download the palettes package from the SSC Archive and add the files to your system manually (see file readme.txt within for installation instructions).

Also see

A working paper on the palettes package is available from here. For more information on grstyle see For general information on Stata, see


The palettes package has been written by Ben Jann.

Thanks for citing the palettes package in your work in one of the following ways:

Source of this website

This website is based on the Bootstrap framework (version 3.3.7) and has been generated by webdoc. The Stata do-files of this website can be downloaded from here.