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.
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91f2fb30db5d1a3008a6ec8e25ce3d6d844468665d428a95b8cf8a0a5c306ef3 |
|
MD5 | d992386eff640cbc6f8bd8a384cf43b3 |
|
BLAKE2b-256 | 0e4d00721c87f8ac17e2c3bf19e3970029218c6ca2f9ad9d3479ec0e7ac07a7a |
Close
Hashes for hue_color_converter-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a96a662ef4ef2c6f7cd8c941962343ca5ac0dbce1f83087725f8d6c8458b0d31 |
|
MD5 | e9f70857c8d3c7445128b4b20b27c5b7 |
|
BLAKE2b-256 | 552d8af8b3cdba62a1d05ff3f5917fadf3f26acc1390892cdfc38814430fdf09 |