0.11.2
  • Gallery
  • Tutorial
  • API
  • Site
      • Introduction
      • Release notes
      • Installing
      • Example gallery
      • Tutorial
      • API reference
      • Citing
      • Archive
  • Page
      • seaborn.xkcd_palette

seaborn.xkcd_palette¶

seaborn.xkcd_palette(colors)¶

Make a palette with color names from the xkcd color survey.

See xkcd for the full list of colors: https://xkcd.com/color/rgb/

This is just a simple wrapper around the seaborn.xkcd_rgb dictionary.

Parameters
colorslist of strings

List of keys in the seaborn.xkcd_rgb dictionary.

Returns
paletteseaborn color palette

Returns the list of colors as RGB tuples in an object that behaves like other seaborn color palettes.

See also

crayon_palette

Make a palette with Crayola crayon colors.

Back to top

© Copyright 2012-2021, Michael Waskom. Created using Sphinx 3.3.1.