No project description provided
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14e8ae5cfc7143798d2bee3ce8709de8f8045ef82dbb36603ac43aa53b90366e |
|
MD5 | b403ff2f665e7b30d3dd938a11c46dec |
|
BLAKE2b-256 | 5945c494b7c0d08c78aef882f077c0bfc1b7fb735cfd023d0df563bcd2bf16b9 |
Close
Hashes for hue_color_converter-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19dcdeacf2a673b78a0627fe858a2f0a9601809e5fe661eec5539e7b107e3c17 |
|
MD5 | cbc2a82a8b49c164721327a7b8cc8f8f |
|
BLAKE2b-256 | 040e1863d33581e19e88f728df1746d7b3305c3151361e108cfccd7d59af5f16 |