Code Monkey home page Code Monkey logo

123's Introduction

ChromaPalette: A Versatile Scientific Color Palette Library

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!

Features

  • 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.

Color Schemes

  1. Coral

Coral SVG

  1. VanGogh

VanGogh SVG

  1. CafeTarrence

CafeTarrence SVG

  1. MintGradient

MintGradient SVG

  1. Candies

Candies SVG

  1. Macarons

Macarons SVG

  1. Matcha

Matcha SVG

  1. Melody

Melody SVG

  1. Lollipop

Lollipop SVG

  1. Sunrise

Sunrise SVG

  1. Monet

Monet SVG

  1. Waterlilies

Waterlilies SVG

  1. Sunflowers

Sunflowers SVG

  1. Irises

Irises SVG

  1. WheatFields

WheatFields SVG

  1. Serene

Serene SVG

  1. Elegant

Elegant SVG

  1. Vibrance

Vibrance SVG

  1. Radiant

Radiant SVG

  1. RoseGradient

RoseGradient SVG

  1. PurpleGradient

PurpleGradient SVG

  1. BlueGradient

BlueGradient SVG

  1. Retro

Retro SVG

  1. HarmonyMix

HarmonyMix SVG

  1. SimplePastel

SimplePastel SVG

  1. SoftVintage

SoftVintage SVG

  1. EasternHues

EasternHues SVG

  1. RelaxingPastel

RelaxingPastel SVG

  1. Lotus

Lotus SVG

  1. CalmBalance

CalmBalance SVG

  1. Eggplant

Eggplant SVG

  1. SeaSalt

SeaSalt SVG

  1. Enamel

Enamel SVG

  1. Pearwood

Pearwood SVG

  1. VintageBlend

VintageBlend SVG

  1. CozyBlue

CozyBlue SVG

  1. OrangeLatte

OrangeLatte SVG

  1. WatermelonSoda

WatermelonSoda SVG

  1. SoftSerenity

SoftSerenity SVG

  1. Westminster

Westminster SVG

  1. EarthyTones

EarthyTones SVG

  1. GracefulHues

GracefulHues SVG

  1. Pond

Pond SVG

  1. MutedBlend

MutedBlend SVG

  1. FlowerBed

FlowerBed SVG

  1. Turner

Turner SVG

  1. WarmHues

WarmHues SVG

  1. ColorBlocking

ColorBlocking SVG

  1. Porcelain

Porcelain SVG

  1. RetroComfort

RetroComfort SVG

Get Started

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)

Colorblind-Friendly Visualizations

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!

123's People

Contributors

sabrinasun1225 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.