Skip to main content

A collection of cb-friendly color palettes

Project description

cb-palettes

A collection of cb-friendly color palettes

Installation

$ git clone https://github.com/tjkessler/cb-palettes
$ cd cb-palettes
$ pip install .

Built-in palettes:

Paul Tol: bright

tolbright

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

toldark

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

tolhighcontrast

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

tollight

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

tolmediumcontrast

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

tolmuted

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

tolpale

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

tolvibrant

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


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.0.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

cb_palettes-0.1.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file cb_palettes-0.1.0.tar.gz.

File metadata

  • Download URL: cb_palettes-0.1.0.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for cb_palettes-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c6787188eab3c25274809dd6a21d5ea022704ea587d903491b798c9f4c78dc6c
MD5 07e350c6c6232879a997519a22a25b11
BLAKE2b-256 5d3171a512675260820778556d89d89f4071cc44f5abc60395f1c31b9d624aa6

See more details on using hashes here.

File details

Details for the file cb_palettes-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cb_palettes-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for cb_palettes-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 559e7c15e0a7cceb8c0ff406bee1d966ec2322ea292eb24a023e1a30d901384e
MD5 7675381fbf88c3a62924b1131a6f5679
BLAKE2b-256 d83d18bca8012c807a7ad9d17188a9467e05d87ce2db1ae86c1262ccf3b2d080

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