color-thief icon indicating copy to clipboard operation
color-thief copied to clipboard

The error in determining the dominant color

Open VasiliyRusin opened this issue 10 years ago • 1 comments

this imageIf I use picture above, dominant color which your script returns is rgb(35, 31, 48), but it's obviously the dominant color is white.

VasiliyRusin avatar Feb 16 '15 16:02 VasiliyRusin

How did you get a color? I get "TypeError: o.palette is not a function" on that image.

programmin1 avatar Apr 19 '15 05:04 programmin1