palettable icon indicating copy to clipboard operation
palettable copied to clipboard

Add option of building custom colormap from HEX

Open lenkahas opened this issue 4 years ago • 0 comments

Hi, I can't seem to find any option of building a custom color palette from hex codes, is there any?

An example from matplotlib

from matplotlib.colors import ListedColormap

newcmp = ListedColormap(['#2352DF','#829DED','#B8C7F5','#DBE3FA','#FBF9F9','#FED7D7','#FEAFAF','#FE7171','#C30303'])

lenkahas avatar Jun 15 '20 13:06 lenkahas