Python utilities for colors
Project description
Pigment
Pigment is a set of Python utilities for colors.
>>> red = Color(255, 0, 0)
>>> blue = Color(0, 0, 255)
>>> blend(red, blue).hsv
(300, 100, 50)
Installation
Pigment is available on PyPI:
$ python -m pip install pigment
Pigment officially supports Python 3.5+.
API Reference
See Read the Docs for Pigment's documentation.
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
pigment-0.5.0.tar.gz
(5.7 kB
view details)
Built Distribution
File details
Details for the file pigment-0.5.0.tar.gz
.
File metadata
- Download URL: pigment-0.5.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 450827d62b3c9ec632e42a4a5a869f78b4c9ca61ef47cbe3a7f866d45ef215cb |
|
MD5 | c406ce212a181191c06cbcaedf97d5d8 |
|
BLAKE2b-256 | 7b2c8888e4ca129d574203fc96ad373b1592176c6127a1de87a20f646f7b7207 |
File details
Details for the file pigment-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: pigment-0.5.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45aba10a29dfeb24af89552f7f37939477f1709d4716857eda42ea09fb1d8ceb |
|
MD5 | 53947acde032018f5e6c573589884693 |
|
BLAKE2b-256 | f650c3dad76497081c474fcbca063b56f9b8791113c3ebcc7e4d3cf0f9061d7c |