Skip to main content

Web color tools

Project description

WClr

Python package for dealing with web colors.

Features

  • Conversion from/to a value specified in the CSS Color 3.
  • Conversion from/to sRGB and HSL components.
  • Alpha compositing.
  • Calculation of the contrast ratio.

Requirements

  • Python version 3.8 or later

Installation

You can install WClr by, e.g., pip:

python -m pip install wclr

Usage

See the documentation.

License

Apache License, Version 2.0

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

wclr-0.1.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

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

wclr-0.1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file wclr-0.1.0.tar.gz.

File metadata

  • Download URL: wclr-0.1.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for wclr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 db13f60c192efb137d7f54a6743f6465a261e69c0e465d3f3f6f4568228d8316
MD5 5d9d01d14e1d4de30b8243939e00f746
BLAKE2b-256 2505a2abfab1aec8c488a71d3196e5593bb831ec617440624a8d8220cc234a79

See more details on using hashes here.

File details

Details for the file wclr-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wclr-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for wclr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a714345f07e38466dacce4d254fece9d92d0e08c1fe1720654f99d06eafaaec5
MD5 cf2543cd42cae3c1767c9eb3b1f2865d
BLAKE2b-256 ca133bf658e364932ea66acb4825ecca11e9984021cb0edbf7a31c05bbbad4c7

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