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

chroma.average Error with 'lrgb' mode #187

Closed
blastframe opened this issue Jul 21, 2018 · 1 comment
Closed

chroma.average Error with 'lrgb' mode #187

blastframe opened this issue Jul 21, 2018 · 1 comment

Comments

@blastframe
Copy link

@blastframe blastframe commented Jul 21, 2018

Hello,
This library is absolutely incredible! Thank you very much for your work on it.

I noticed a bug when averaging an array of colors with the mode set to 'lrgb.' It outputs the color black and throws this error:

"unknown format: 154.74602848969448,99.85600744182706,158.8000139938421,1.0000000000000002"

Here's a Codepen demonstrating the bug.

Thanks again!

@gka gka closed this in b69b6e2 Sep 24, 2018
@gka
Copy link
Owner

@gka gka commented Sep 24, 2018

found the bug and fixed it. sorry for the delay

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

Successfully merging a pull request may close this issue.

None yet
2 participants