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

feat: Added Conversions from Lab and XYZ to RGB #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lud
Copy link

@lud lud commented Jan 20, 2025

Hello,

I needed to convert Lab colors to Hex (so RGB) so I found a working implementation here : https://mina86.com/2021/srgb-lab-lchab-conversions/

But for some reason I have to multiply by 100 the results to get actual XYZ colors from Lab, and so divide by 100 to use the given algorithm to get RBG from XYZ. I left a command on that blog post to try to figure out why.

But it works!

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

Successfully merging this pull request may close these issues.

1 participant