Utility to easily use material design colors
Project description
Palettes
Utility to easily use palettes
Colors
There are two palettes material and flat.
Material Colors
You can view them in a svg file.
More info at material.io
Flat Colors
You can view them in a svg file.
More info at html color codes
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
# 1. Retrive one color
get_colors(("red", 100)) # out: '#FFCDD2'
# 2. Retrive some colors
get_colors([("red", 100), ("blue", 100)]) # out: ['#FFCDD2', '#BBDEFB']
# 3. Retrive colors from others palettes
get_colors([("emerald", 100), ("silver", 100)]) # out: ['#D5F5E3', '#F2F3F4']
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.1.0.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file v_palette-1.1.0.tar.gz
.
File metadata
- Download URL: v_palette-1.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.7.2 requests-toolbelt/0.9.1 tqdm/4.19.8 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5796c81430491b91eb555820c18e9127f3dfba62640c9beb9d92d05dcc990aa |
|
MD5 | 9285d24f460654aef0a0f1422516c7a3 |
|
BLAKE2b-256 | b07118c104d8cfbc8d802be912717fb8d8cb2afe130256e732dcd0ee23c8175c |
File details
Details for the file v_palette-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: v_palette-1.1.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.7.2 requests-toolbelt/0.9.1 tqdm/4.19.8 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b6e548e7d5baad43d31a4e5c3f8c5968b6c4692c50613e76ddc9600403e9ceb |
|
MD5 | 0ab95371264516a1600d2bec52ebf139 |
|
BLAKE2b-256 | da2be539659b1903ae9d77dc591d3f64bde6a4d4926fb0cf493443261a333b36 |