Skip to content

Conversation

e-domnenko
Copy link

@e-domnenko e-domnenko commented Nov 2, 2022

This PR fixes issue #48 in difference function.

difference function returns NaN if one of colours provided as argument is garyscale (e.g. #f0f0f0, #4d4d4d, #eeeeee).

@lulunac27a
Copy link

The dH formula a^2+b^2-c^2 can be less than zero because of rounding errors caused by floating number precision.

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 this pull request may close these issues.

2 participants