kennethcachia / background-check

Automatically switch to a darker or a lighter version of an element depending on the brightness of images behind it.
http://kennethcachia.com/background-check/
MIT License
3.27k stars 282 forks source link

Feature: dominant colour. #2

Closed joegaudet closed 10 years ago

joegaudet commented 10 years ago

In addition to processing for light or dark. You should surface the three most common color and set them as data properties. Such that you could pick complimentary colours the image, like they do in iTunes.

kennethcachia commented 10 years ago

While it's definitely a very interesting feature, it goes beyond the scope of this plugin. I'll close the issue but I'll revisit it if necessary.