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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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