Have you ever had a great color palette, but it didn't contain enough values to use for your (plot / website / theme / etc)?
This tool takes a color palette, and returns a set of new candidate colors that fit well
This wonderful blog post:
https://matthewstrom.com/writing/how-to-pick-the-least-wrong-colors/
This repository takes his code (written in javascript) and implements it in python.
-
Go to the directory
-
Check that the Requirements: 5 are installed
-
Add your colors to the `run.py` file
-
Run it!
python run.py
This will also show some example plots
This is a probabilistic algorithm. If you don't get results you like, just run it again until you do!
You can run the `plotting.py` or `console.py` files to see different outputs:
Currently too lazy to add an environment here. May update later
Main Functionality
numpy, matplotlib, colormath, cytoolz
Running Examples
rich, seaborn