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 check for hsl values #85

Closed
tornography opened this issue Oct 28, 2019 · 1 comment
Closed

Wrong check for hsl values #85

tornography opened this issue Oct 28, 2019 · 1 comment

Comments

@tornography
Copy link

Given the hue values of 0 and 360, which are equal, the calculated ratios are totally different.

hsl(0, 100%, 40%) // => 6.2
hsl(360, 100%, 40%) // => 21
@believer
Copy link
Member

Sorry, I have no idea why I wasn't notified of this issue. I'll fix that!

github-actions bot pushed a commit that referenced this issue May 12, 2020
## [1.1.1](v1.1.0...v1.1.1) (2020-05-12)

### Bug Fixes

* handle 0 and 360 hue equally with hsl fixes [#85](#85) ([5b7a4c1](5b7a4c1))
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