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

Wrong output for hsl #6

Open
InfogrexTechnologies opened this issue Jan 10, 2020 · 0 comments
Open

Wrong output for hsl #6

InfogrexTechnologies opened this issue Jan 10, 2020 · 0 comments

Comments

@InfogrexTechnologies
Copy link

When we try to convert a color given by the colorgram.extract from RGB to HSL, the conversion is wrong. I tried multiple times and checked from different sources. i found that the conversion is wrong.
x = Rgb(r=53, g=57, b=64)
x.hsl = Hsl(h=154, s=23, l=58)
But the actual value is as per
218, 9.4% , 22.9%
You can check @ https://www.rapidtables.com/convert/color/rgb-to-hsl.html

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

1 participant