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

Problem with hexadecimal #000000 #48

Open
Daniel4Digital opened this issue Oct 27, 2020 · 2 comments
Open

Problem with hexadecimal #000000 #48

Daniel4Digital opened this issue Oct 27, 2020 · 2 comments

Comments

@Daniel4Digital
Copy link

Hi there,

When I try to do a difference between any color and #000000 it gives NaN and not the actual difference.

@Daniel4Digital
Copy link
Author

The same with FFFFFF. It gives NaN.

difference('#1E1E1E', '#FFFFFF')
difference('#1E1E1E', '#000000')

@e-domnenko
Copy link

PR #52 fixes 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

No branches or pull requests

2 participants