About
The script allows to get the closest known color to any given one and also generates its general shade (like Blue, Red, Black, etc)
>>> from py_namethatcolor import get_color
>>> color = get_color("#336699")
>>> color.name
'Lochmara'
>>> color.shade.name
'Blue'
Credits
It’s a Python port of the “Name that Color” script that was originally written by Chirag Mehta and also its improved version developed for “Color Name & Hue” by Daniel Flueck
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-namethatcolor-0.1.0.tar.gz
(22.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py-namethatcolor-0.1.0.tar.gz.
File metadata
- Download URL: py-namethatcolor-0.1.0.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/1.1.12 CPython/3.10.2 Linux/5.4.0-97-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a1725b2ba44118fdde9d3437fb4f3229a0d95654729c72debe292a7542023fc
|
|
| MD5 |
7704fb6c80aef84a65474a7818fc0196
|
|
| BLAKE2b-256 |
4c93a3e5c07fb1357a857749428b5648a11420fa9619892f9f56a4808fc3e62a
|
File details
Details for the file py_namethatcolor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: py_namethatcolor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/1.1.12 CPython/3.10.2 Linux/5.4.0-97-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4cc66f95488a12a11d9dd1a55e1e517091db4fda500f9a9fc12c23894304449
|
|
| MD5 |
4ef94dccfc74b08146bda69b908b90df
|
|
| BLAKE2b-256 |
040633d9c47be91e9d6409d6e49e724334f13708ef311231d0b390a986042636
|