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

Colors don't have fixed Hue, as they're supposed to #14

Open
rafaveguim opened this issue Mar 28, 2017 · 0 comments · May be fixed by #16
Open

Colors don't have fixed Hue, as they're supposed to #14

rafaveguim opened this issue Mar 28, 2017 · 0 comments · May be fixed by #16

Comments

@rafaveguim
Copy link

rafaveguim commented Mar 28, 2017

Consider the following scale: http://tristen.ca/hcl-picker/#/clh/5/1.16/560003/E2A58A

If the Hue slider is fixed, I expect all colors to have the same hue value. This isn't, however, what chroma.js tells me about the colors that the picker suggests:

console.log(chroma("#560003").hcl()); 
// [32.025259877450765, 42.92174912486389, 15.411936172871435]
console.log(chroma("#AF4737").hcl()); 
// [36.77725531337734, 51.75956722662115, 44.08773663134244]
console.log(chroma("#E2A58A").hcl()); 
// [50.11947447114051, 29.803701752508704, 72.83727863959362]

All HCL color components are different. Am I missing something?

@rafaveguim rafaveguim changed the title Values don't have fixed Hue, as they're supposed to Colors don't have fixed Hue, as they're supposed to Mar 28, 2017
@thorn0 thorn0 linked a pull request Feb 10, 2018 that will close this issue
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 a pull request may close this issue.

1 participant