Skip to main content

Utility to easily use material design colors

Project description

Palettes

Build Status codecov

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)

Uploaded Source

Built Distribution

v_palette-1.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

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

Hashes for v_palette-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c5796c81430491b91eb555820c18e9127f3dfba62640c9beb9d92d05dcc990aa
MD5 9285d24f460654aef0a0f1422516c7a3
BLAKE2b-256 b07118c104d8cfbc8d802be912717fb8d8cb2afe130256e732dcd0ee23c8175c

See more details on using hashes here.

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

Hashes for v_palette-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b6e548e7d5baad43d31a4e5c3f8c5968b6c4692c50613e76ddc9600403e9ceb
MD5 0ab95371264516a1600d2bec52ebf139
BLAKE2b-256 da2be539659b1903ae9d77dc591d3f64bde6a4d4926fb0cf493443261a333b36

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page