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

Incorrect color #30

Open
vko-online opened this issue Apr 18, 2014 · 4 comments
Open

Incorrect color #30

vko-online opened this issue Apr 18, 2014 · 4 comments
Projects

Comments

@vko-online
Copy link

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

@tyaslab
Copy link

tyaslab commented Jun 30, 2014

+1 for this issue

@derek-skinner
Copy link

+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.

screen shot 2015-06-03 at 12 56 50 pm
screen shot 2015-06-03 at 12 56 59 pm

@AlfredJKwack
Copy link

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.

@lokesh lokesh added this to To do in v2 Aug 26, 2019
@Amurdel
Copy link

Amurdel commented Apr 8, 2020

bugfix
var MMCQ = (function() {
// private constants
var sigbits = 8, // 5 by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
v2
  
To do
Development

No branches or pull requests

6 participants