Open vko-online opened 10 years ago
+1 for this issue
+1 for me, too.
As a test, I uploaded a solid color jpeg using hex #313788. The color palette the tool came up with is hex #343c8c.
Color-Thief implements an underlying library to create the color palette. Your issue is actually with that library:olivierlesnicki/quantize/, not with Color-Thief itself.
bugfix var MMCQ = (function() { // private constants var sigbits = 8, // 5 by default
when i try to get color of simple one color image, it returns a little bit different RGB array. original color rgb(0:159:60) #009F3C, colorThief color rgb(4:156:60) #049C3C a little difference, but would be good to have correct result