color converter for philips hue
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for hue_color_converter-0.2.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dadf1fdcdb274f1e7d01c649246632e8c2bbdb177f914f36df63b4bbafb7782 |
|
MD5 | 43126df7760815f59c98d663b5b4e68d |
|
BLAKE2b-256 | 7e8c7ee53b8303c291a53cf704a877cf8e77d70e23abec23f63fc6fc28b0baa8 |
Close
Hashes for hue_color_converter-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad5992f4e85c0b4f8aa822fde6254f7ab4e7d69669ca6c3c73eccb1d2eb81621 |
|
MD5 | 963a32ffea1815cc0b814b6bdfec3af5 |
|
BLAKE2b-256 | 7e67ed8198bde34dcaca07562b5db6e1250a6800b36d4e327f281408cf7d2e13 |