Utility to easily use material design colors
Project description
Palette Material Design
Utility to easily use material design colors.
Colors
Available colors are:
Color | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 |
---|---|---|---|---|---|---|---|---|---|---|
red | ||||||||||
pink | ||||||||||
purple | ||||||||||
deep purple | ||||||||||
indigo | ||||||||||
blue | ||||||||||
light blue | ||||||||||
cyan | ||||||||||
teal | ||||||||||
green | ||||||||||
light green | ||||||||||
lime | ||||||||||
yellow | ||||||||||
amber | ||||||||||
orange | ||||||||||
deep orange | ||||||||||
brown | ||||||||||
grey | ||||||||||
blue grey | ||||||||||
black | ||||||||||
white |
More info at material.io
Installation
You can install it with pip by running:
pip install v-palette
Usage
You can retrive one color or a list of colors using get_colors
function:
from v_palette import get_colors
# Retrive one color
color = get_colors(("red", 100))
# color will be: '#FFCDD2'
# Retrive some colors
colors = get_colors([("red", 100), ("blue", 100)])
# colors will be: ['#FFCDD2', '#BBDEFB']
Authors
License
The content of this repository is licensed under a MIT.
Nomenclature
Branches and commits use some prefixes to keep everything better organized.
Branches
- f/: features
- r/: releases
- h/: hotfixs
Commits
- [NEW] new features
- [FIX] fixes
- [REF] refactors
- [PYL] pylint improvements
- [TST] tests
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
v_palette-1.0.1.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for v_palette-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdea9d7f8960d44c229cf9fa1b43a967fbc68008d16bcb691dce93b689ccd04f |
|
MD5 | 2b33545996d62c0bf7535f4d04c2b263 |
|
BLAKE2b-256 | feaa9cbed093b1855d3353ee38b86b7adffac76eb0d380ba0d53ad354db754f4 |