* Colourmap
generates an unique lit of RGB and HEX colors for the specified input list.
⭐️ Star this repo if you like it ⭐️
On the documentation pages you can find more information about colourmap
with examples.
pip install colourmap # normal install
pip install -U colourmap # update if needed
from colourmap import colourmap
Use the documentation pages for more detailed usage. Some of the most used functionalities are linked below.
from colourmap import colourmap
# Create N colors
c = colourmap.generate(10)
# From list
c_rgb, c_dict = colourmap.fromlist([1,1,2,2,3,1,2,3])
# to HEX
c_hex = colourmap.rgb2hex(c_rgb)