seaborn.
blend_palette
(colors, n_colors=6, as_cmap=False, input='rgb')¶Make a palette that blends between a list of colors.
input
hex code, html color name, or tuple in input
space.
Number of colors in the palette.
If True, return as a matplotlib colormap instead of list.
List-like object of colors as RGB tuples, or colormap object that
can map continuous values to colors, depending on the value of the
as_cmap
parameter.