-
Notifications
You must be signed in to change notification settings - Fork 143
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
Request: ability to get just colors #14
Comments
I too think it would be nice to have access to the colors. I want to use them outside of just the wrapper. Maybe id each element and set a global object for them? |
@hellsan631 i did notice the colors are available in localstorage https://github.com/benhowdle89/grade/blob/master/src/index.js#L113 |
Good idea. My proposed usage:
You could then loop through |
Done, check it out: The README has been updated for full usage details... |
Really like the concept, what would you think about having a method that stops before rendering out the wrapper, and just gets the 2 dominant colours in the image?
The text was updated successfully, but these errors were encountered: