You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added a CodePen with your example image (converted to Base64 inline to avoid CORS) as well as one using the underlying library (rgbaster.js). The dominant color as detected - at least on OSX Chrome and Safari, more on that below - appear to be rgb(255,255,255) and the secondary is rgb(255,255,253).
With regards to why you may be getting the wrong perceived colour, you may want to read through the comments on the below two issues:
I if use this example image:
http://cdn.laprensa.com.ni/wp-content/uploads/2015/09/270915espElChipotephoto05.jpg
Got as dominant color,
I want specifically detect if the dominant color is white, and this image does not.
Yet I am getting this image as a valid one when is not?
I used the base-single.html from demo folder.
How this can be solved?
The text was updated successfully, but these errors were encountered: