Are you tired of spending countless hours searching for the perfect color scheme for your scientific visualizations? Look no further! Introducing ChromaPalette - a comprehensive and versatile color palette library tailored for researchers and scientists. With 50 stunning and carefully designed color schemes, creating eye-catching and informative visualizations has never been easier!
- 50 Unique Color Schemes: Featuring a diverse range of color schemes, from gradient to low saturation, Morandi-inspired palettes, and vibrant, high contrast options.
- Time Saving: Eliminate the need to search the internet for color palettes - ChromaPalette has you covered.
- Designed for Science: Crafted specifically for the scientific community, each color scheme is suited for various types of data visualization.
- Effortless Color Scheme Creation: Auto-generate custom color schemes with ChromaPalette. Simply choose a scheme and input the number of colors, and ChromaPalette takes care of the rest, seamlessly filling in gaps with gradient colors when needed. The possibilities are endless!
- Color Code Conversion: ChromaPalette effortlessly converts between HEX and RGB color codes, allowing you to switch between formats depending on your needs. Create beautiful color schemes with ease and translate them seamlessly with ChromaPalette.
- Coral
- VanGogh
- CafeTarrence
- MintGradient
- Candies
- Macarons
- Matcha
- Melody
- Lollipop
- Sunrise
- Monet
- Waterlilies
- Sunflowers
- Irises
- WheatFields
- Serene
- Elegant
- Vibrance
- Radiant
- RoseGradient
- PurpleGradient
- BlueGradient
- Retro
- HarmonyMix
- SimplePastel
- SoftVintage
- EasternHues
- RelaxingPastel
- Lotus
- CalmBalance
- Eggplant
- SeaSalt
- Enamel
- Pearwood
- VintageBlend
- CozyBlue
- OrangeLatte
- WatermelonSoda
- SoftSerenity
- Westminster
- EarthyTones
- GracefulHues
- Pond
- MutedBlend
- FlowerBed
- Turner
- WarmHues
- ColorBlocking
- Porcelain
- RetroComfort
To start using ChromaPalette, simply clone or download the repository from GitHub and import it into your favorite data visualization tool.
git clone https://github.com/SabrinaSun1225/ChromaPalette
To install the package, please input
python setup.py install
You may update your PYTHONPATH with
export PYTHONPATH="put-your-path-here:$PYTHONPATH"
The following code can be used to import ChromaPalette:
from ChromaPalette.chroma_palette import *
To generate a list of colors from a color scheme, you can use the following code:
your_color_list = color_palette(name="Sunrise",N=8)
Here, "N" is the number of colors and "name" is the name of the color scheme.
If you have a HEX code, but you want its RGB code. You can use function "hex_to_rgb":
rgb = hex_to_rgb(hex)
To convert an RGB code (e.g., rgb=[R, G, B]) to a HEX code, you can use the 'rgb_to_hex' function:
hex = rgb_to_hex(rgb)
Please use the tool below to check that the color schemes you generate are colorblind-friendly
https://color.adobe.com/create/color-accessibility
Learn more about colorblind-friendly visualizations:
Check out this article from Nature for more information: https://www.nature.com/articles/d41586-021-02696-z
With ChromaPalette, you can elevate the aesthetics of your visualizations and captivate your audience. Don't wait - try ChromaPalette today and let your data speak for itself!