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.
Metadata
Release files for pigment 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pigment-0.5.0.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pigment-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / pigment-0.5.0.tar.gz
| Download URL | pigment-0.5.0.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
450827d62b3c9ec632e42a4a5a869f78b4c9ca61ef47cbe3a7f866d45ef215cb
|
|
BLAKE2b-256 checksum How to use checksums |
7b2c8888e4ca129d574203fc96ad373b1592176c6127a1de87a20f646f7b7207
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pigment-0.5.0-py3-none-any.whl
| Download URL | pigment-0.5.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45aba10a29dfeb24af89552f7f37939477f1709d4716857eda42ea09fb1d8ceb
|
|
BLAKE2b-256 checksum How to use checksums |
f650c3dad76497081c474fcbca063b56f9b8791113c3ebcc7e4d3cf0f9061d7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|