A collection of cb-friendly color palettes
Project description
cb-palettes
A collection of cb-friendly color palettes
Installation
From PyPI:
$ pip install cb-palettes
From source:
$ git clone https://github.com/tjkessler/cb-palettes
$ cd cb-palettes
$ pip install .
Built-in palettes:
Paul Tol: bright
from cb_palettes import TolBright
colors_hex: Tuple[str] = TolBright().hex
colors_hsv: Tuple[Tuple[float]] = TolBright().hsv
colors_rgb: Tuple[Tuple[int]] = TolBright().rgb
colors_rgb_norm: Tuple[Tuple[float]] = TolBright().rgb_norm
Paul Tol: dark
from cb_palettes import TolDark
colors_hex: Tuple[str] = TolDark().hex
colors_hsv: Tuple[Tuple[float]] = TolDark().hsv
colors_rgb: Tuple[Tuple[int]] = TolDark().rgb
colors_rgb_norm: Tuple[Tuple[float]] = TolDark().rgb_norm
Paul Tol: high contrast
from cb_palettes import TolHighContrast
colors_hex: Tuple[str] = TolHighContrast().hex
colors_hsv: Tuple[Tuple[float]] = TolHighContrast().hsv
colors_rgb: Tuple[Tuple[int]] = TolHighContrast().rgb
colors_rgb_norm: Tuple[Tuple[float]] = TolHighContrast().rgb_norm
Paul Tol: light
from cb_palettes import TolLight
colors_hex: Tuple[str] = TolLight().hex
colors_hsv: Tuple[Tuple[float]] = TolLight().hsv
colors_rgb: Tuple[Tuple[int]] = TolLight().rgb
colors_rgb_norm: Tuple[Tuple[float]] = TolLight().rgb_norm
Paul Tol: medium contrast
from cb_palettes import TolMediumContrast
colors_hex: Tuple[str] = TolMediumContrast().hex
colors_hsv: Tuple[Tuple[float]] = TolMediumContrast().hsv
colors_rgb: Tuple[Tuple[int]] = TolMediumContrast().rgb
colors_rgb_norm: Tuple[Tuple[float]] = TolMediumContrast().rgb_norm
Paul Tol: muted
from cb_palettes import TolMuted
colors_hex: Tuple[str] = TolMuted().hex
colors_hsv: Tuple[Tuple[float]] = TolMuted().hsv
colors_rgb: Tuple[Tuple[int]] = TolMuted().rgb
colors_rgb_norm: Tuple[Tuple[float]] = TolMuted().rgb_norm
Paul Tol: pale
from cb_palettes import TolPale
colors_hex: Tuple[str] = TolPale().hex
colors_hsv: Tuple[Tuple[float]] = TolPale().hsv
colors_rgb: Tuple[Tuple[int]] = TolPale().rgb
colors_rgb_norm: Tuple[Tuple[float]] = TolPale().rgb_norm
Paul Tol: vibrant
from cb_palettes import TolVibrant
colors_hex: Tuple[str] = TolVibrant().hex
colors_hsv: Tuple[Tuple[float]] = TolVibrant().hsv
colors_rgb: Tuple[Tuple[int]] = TolVibrant().rgb
colors_rgb_norm: Tuple[Tuple[float]] = TolVibrant().rgb_norm
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cb_palettes-0.1.1.tar.gz
(15.1 kB
view details)
Built Distribution
File details
Details for the file cb_palettes-0.1.1.tar.gz
.
File metadata
- Download URL: cb_palettes-0.1.1.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e2fb8a12ff50ce950c5902d7c40189aad29a49649e63021a9a9f81c3e175143 |
|
MD5 | 31731e39907de9d896f20e6a1ab3dd5f |
|
BLAKE2b-256 | a61dc07a765e18e9950f30906c892f12487da3d678692bef491ff51c28d2ca6e |
File details
Details for the file cb_palettes-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: cb_palettes-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dad7266390c56aba9760612038096fa356a8b22f92e948f11e1b91ff0be3b8ab |
|
MD5 | 255b0078b84198212d4a9e9fd2141b94 |
|
BLAKE2b-256 | 6941c8177eee771d6d199eb278fa2f06229da9b94d751247c54b39c132a88107 |