Skip to main content

A python package for easy management of colors and palettes.

Project description

What is colorir?

colorir is a package developed to unify your workflow with colors across different projects.

With colorir you can:

  • Keep a unified selection of colors you like and use them in your different projects;

  • Use these colors directly as input for other graphical or web frameworks;

  • Easily convert between different color systems and formats;

  • Create gradients between colors and sample from them;

  • Easily visualize swatches of colors in the terminal;

  • And much more!

colorir was designed to be your best friend when dealing with colors so that you won’t ever need to write this kind of code again:

BLACK = (0, 0, 0)
WHITE = (255, 255, 255)
CSS_ALICEBLUE = (240, 248, 255)
COOL_PURPLE = (11, 0, 51)
MY_FAVORITE_GREEN = (113, 180, 141)
TOP_NOTCH_RED = (131, 34, 50)
# ... unnecessarily long and ugly list of colors

For more information (including use-cases and examples), see colorir’s documentation here.

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

colorir-1.2.1.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

colorir-1.2.1-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file colorir-1.2.1.tar.gz.

File metadata

  • Download URL: colorir-1.2.1.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for colorir-1.2.1.tar.gz
Algorithm Hash digest
SHA256 e69804116c3c6f5d7c479aba1e7f1ed6ed8f839788d790cf347671bb5aaad4a3
MD5 8f4124f69a9230866f9027cf907ee8e5
BLAKE2b-256 ae7e68ef429c67c07daad67715a80875c2de7a910842c5fafd79ed5eeaa44b65

See more details on using hashes here.

File details

Details for the file colorir-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: colorir-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for colorir-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2da50ea04d6438bfdd54036e06e70206b6ca1d03b32814fdc66fab37ce6d5fa8
MD5 24991b57690c08d25daf5dda1587d6fd
BLAKE2b-256 262c3bb0a6f62eb402e33f7badff701c2d38d7eba30513119d0eaabceb6cf594

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