palettable
palettable copied to clipboard
Add option of building custom colormap from HEX
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'])