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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19f0f6447fb0b26df97605f1dad72d34e679c769a5a5be0d822dfad16d2a11f |
|
MD5 | 4e9d72532653a578061c2fe7396cabbc |
|
BLAKE2b-256 | a618f86f6639bafe0e113189c5c876ec6f5653f9a6f55ef345723f319c9bc595 |
Close
Hashes for hue_color_converter-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b3a7358639a891bbf330629e84a04a9ce01c8cf6a989685a2b2b01b919fc5e8 |
|
MD5 | 9a6584bb4346fc3e73eac73cd20faa31 |
|
BLAKE2b-256 | c521761a1ebec4dae59f7c167d25ff159ea911ddabae7c9d988710d53cbcb5b2 |