def xkcd_palette(colors):
 palette = [xkcd_rgb[name] for name in colors]
 return color_palette(palette, len(palette))

def xkcd_palette ( colors ) : palette = [ xkcd_rgb [ name ] for name in colors ] return color_palette ( palette , len ( palette ) )
make a palette with color names from the xkcd color survey .