Skip to main content

Color manipulation tool. Extension to colorsys.

Project description

hcolor - Color manipulation tool

The goal of this package is to provide a color manipulation tool for use in the Python environments. The original intention was to bring mathematics to color space generation.

The package provides the HColor class, which represents a color by RGBA components, stored as floats (0-to-1) and provides handy manipulation methods using the standard colorsys library.

The main features of the HColor class are:

  • instant cast to HTML color definition,
  • creation from HSL parameters (hue/saturation/lightness),
  • manipulation of HLS parameters,
  • creation of color palettes as a series of HLS variations
  • creation from HTML color definition (from string).

To be further documented.

For now, you can check the unit tests, since I focus there on testing the functionality that the package provides.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

hcolor-0.0.4-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file hcolor-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: hcolor-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for hcolor-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c4bc66f37fe98b51ae2989136567b4e1809f0aa6ca4b30abf5c872b3d4006665
MD5 6c7fb5f177041a2d11d363d235beef96
BLAKE2b-256 dae058693f7a6ba41ce21a52648cab2fc63bc7345aed2f5c3d81233a77caa37d

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