No project description provided
Project description
Philips Hue Color Converter (CIE xy)
from hue_color_converter import Converter
converter = Converter() # optionally provide device id or "A", "B", "C" color gamut for more accurate colors
(x, y), brightness = converter.hex_to_xyb("ff00ff")
# calculated brightness is on the scale of 0-1
converter.xyb_to_hex(x=0.3209, y=0.1541, brightness=1)
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.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba3b599129de5de1a020a18311e8eef7c2e526f6df162e1c662010e007153dc2 |
|
MD5 | 48777c0578a268c3fb58280c7b6155b0 |
|
BLAKE2b-256 | 205d878d99b7831c95959348ddeff80a888c2d6e66bc0d442b80159ba9ca9fa8 |
Close
Hashes for hue_color_converter-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5331a3c4c9478d797a8a781450924780ff59323caed55fd22c1b541ed56f3445 |
|
MD5 | 2f9fdc80ebb484f973a40a3d3542792a |
|
BLAKE2b-256 | 75ffcd4c321093dc6f7c3c7a8c8c0372f0ba15b27bd45c468250c434860be95f |