Seaborn color palettes

Seaborn has its own set of built-in color palettes, separate from the ones matplotlib ships with (see the full list of matplotlib colormaps). You pass their name to the palette argument of most seaborn functions, or generate the colors directly with sns.color_palette().

import seaborn as sns
df = sns.load_dataset("tips")

sns.boxplot(x = “day”, y = “total_bill”, data = df, palette = “deep”)

Click on any palette below to copy its name. The qualitative and circular palettes shown below use their default number of colors — pass n_colors to sns.color_palette() to request a different amount.

Qualitative palettes

deep

palette

muted

palette

bright

palette

pastel

palette

dark

palette

colorblind

palette

Circular palettes

husl

palette

hls

palette

Sequential & diverging palettes

rocket

palette

mako

palette

flare

palette

crest

palette

vlag

palette

icefire

palette

Copied!
Data Sketches

A journey of imagination, exploration, and beautiful data visualizations

Buy on Amazon
Fundamentals of Data Visualization

A Primer on Making Informative and Compelling Figures

Buy on Amazon

See also