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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fec51956b4c292aa569d2860b75022e3b877ca224d4890a0890366c0d77b8670 |
|
MD5 | 8ceb5865f3f1ce1f358d20a19c6d966b |
|
BLAKE2b-256 | 3e0bd924f60b4d97d5efb7a70c25f62244b2a9cd5d23add61a3d37d6fd33336f |
Close
Hashes for hue_color_converter-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 034437d3be8db13ea3cf42f85703566f7e05b3bfaccd51fa53bab0ecc07aaf0d |
|
MD5 | dc62675eff190dd436a40b9c9d37cd5e |
|
BLAKE2b-256 | 53e5dc25bac8a98581f2328f233fb22ccfeebdb49f16843795da621d3a5a7283 |