Skip to main content

A small tool to get the closest known color to any given one and also generates its general shade (like Blue, Red, Black, etc)

Project description

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

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

py-namethatcolor-0.1.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_namethatcolor-0.1.0-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

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

Hashes for py-namethatcolor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a1725b2ba44118fdde9d3437fb4f3229a0d95654729c72debe292a7542023fc
MD5 7704fb6c80aef84a65474a7818fc0196
BLAKE2b-256 4c93a3e5c07fb1357a857749428b5648a11420fa9619892f9f56a4808fc3e62a

See more details on using hashes here.

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

Hashes for py_namethatcolor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4cc66f95488a12a11d9dd1a55e1e517091db4fda500f9a9fc12c23894304449
MD5 4ef94dccfc74b08146bda69b908b90df
BLAKE2b-256 040633d9c47be91e9d6409d6e49e724334f13708ef311231d0b390a986042636

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page