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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aed6f0bc06977eacc88d6797ee645619fd99a6e6a78c5e7671575ee817979804 |
|
MD5 | 775ce00a91112ab946a5156a4c83e0a7 |
|
BLAKE2b-256 | f82248242097741f61050c162459db219b699e81e5c7035a98849f8c1ea850df |
Close
Hashes for hue_color_converter-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f470b5c776421639d37053436150336a173c22e5ec150ea7b0281a19f31fb5bf |
|
MD5 | 95a9b963f8a6698f25925510d08c5a35 |
|
BLAKE2b-256 | 4ec6d722b4c4aabe97be37a4632fd4258ae2bd7dcc10ed2ed290e987fc4387a4 |