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.5-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hcolor-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 da59779f1edf846e5e055e2d9e224ef5475d86dd5f0986c5e53230cd07bd39ee
MD5 f7f31cdd1df920c27000be8725f19380
BLAKE2b-256 2cd9c718d87470227f4efec0425078ff12e9f07296b8a6a4fee96172f1fccdf4

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