chromatism icon indicating copy to clipboard operation
chromatism copied to clipboard

Problem with hexadecimal #000000

Open Daniel4Digital opened this issue 4 years ago • 2 comments

Hi there,

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

Daniel4Digital avatar Oct 27 '20 18:10 Daniel4Digital

The same with FFFFFF. It gives NaN.

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

Daniel4Digital avatar Dec 11 '20 17:12 Daniel4Digital

PR #52 fixes this issue.

e-domnenko avatar Nov 02 '22 13:11 e-domnenko