Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CIE XY color conversion #4

Open
alexhorn opened this issue Aug 4, 2021 · 1 comment
Open

Use CIE XY color conversion #4

alexhorn opened this issue Aug 4, 2021 · 1 comment

Comments

@alexhorn
Copy link

alexhorn commented Aug 4, 2021

I think you can make your color conversion more accurate by using hue-python-rgb-converter to convert your RGB values to CIE XY coordinates and then packing them into two 16-bit little-endian integers.

(See: https://github.com/alexhorn/libhueble/blob/main/src/__init__.py#L79)

@arch-user-france1
Copy link

libhueble does that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants