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 hashes)
Built Distribution
Close
Hashes for cb_palettes-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dad7266390c56aba9760612038096fa356a8b22f92e948f11e1b91ff0be3b8ab |
|
MD5 | 255b0078b84198212d4a9e9fd2141b94 |
|
BLAKE2b-256 | 6941c8177eee771d6d199eb278fa2f06229da9b94d751247c54b39c132a88107 |