Tells you what name a color has
Project description
Color-name
Color-name converts RGB values to English names.
pip install color-name
Example Usage
>>>import colorname
>>>colorname.get_color_name(255, 0, 0)
'red'
>>>colorname.get_color_name(129, 128, 128)
'gray'
>>> while colorname.get_pixel_color_name(600, 800) != 'white':
... pass
...
Versioning
This project uses SemVer for versioning. For the versions available, see releases.
Authors
- Tim Vanderplas - Initial work - tvanderplas
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
color-name-0.2.0.tar.gz
(14.6 kB
view details)
Built Distribution
File details
Details for the file color-name-0.2.0.tar.gz
.
File metadata
- Download URL: color-name-0.2.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05b7455c661e456d5c99902a3733a15083b4bf167158a9b83064601d01f1bf28 |
|
MD5 | aaccaad254a80b4e09bcd251c833227e |
|
BLAKE2b-256 | 940166dc5ea6f4c407ff6417d58149741b91bea2c8fe98700f520d8d4b7673dd |
File details
Details for the file color_name-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: color_name-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd7b22d34b3b813abca86dbb5ddcd6a5168314e10812f7e33ae1992406cbce03 |
|
MD5 | 93ea52cb46f4859efb56c7f7dcf8caaa |
|
BLAKE2b-256 | 58017e9a9c09340f7519d3ea94b8d196bfc3a0741cc037234873df136391ef42 |