Skip to main content

Philips Hue Color Converter (CIE xyY)

Converts RGB to CIE xyY for Philips Hue

from hue_color_converter import Converter

converter = Converter()  # optionally provide device id or "A", "B", "C" color gamut for more accurate colors

(x, y), Y = converter.hex_to_xyy("ff00ff")
# calculated brightness is on the scale of 0-1

converter.xyy_to_hex((0.3209, 0.1541), Y=0.2848)

Click here to see which color gamuts are supported for your device.

Installing hue-color-converter

pip install hue-color-converter

License

MIT

Metadata

Release files for hue-color-converter 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hue-color-converter 0.2.4
File Size Uploaded Provenance Actions
hue_color_converter-0.2.4.tar.gz 3.7 kB Without provenance Details for hue_color_converter-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hue-color-converter 0.2.4
File Interpreter ABI Platform Actions
hue_color_converter-0.2.4-py3-none-any.whl Python 3 none any Details for hue_color_converter-0.2.4-py3-none-any.whl

Total release size: 8.4 kB

Release files / hue_color_converter-0.2.4.tar.gz

Download URL hue_color_converter-0.2.4.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4dadf1fdcdb274f1e7d01c649246632e8c2bbdb177f914f36df63b4bbafb7782
BLAKE2b-256 checksum
How to use checksums
7e8c7ee53b8303c291a53cf704a877cf8e77d70e23abec23f63fc6fc28b0baa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / hue_color_converter-0.2.4-py3-none-any.whl

Download URL hue_color_converter-0.2.4-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad5992f4e85c0b4f8aa822fde6254f7ab4e7d69669ca6c3c73eccb1d2eb81621
BLAKE2b-256 checksum
How to use checksums
7e67ed8198bde34dcaca07562b5db6e1250a6800b36d4e327f281408cf7d2e13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Security for hue-color-converter 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page