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

"Color Source" taken also from rgb background and canvas #92

Open ldetomi opened 8 years ago

ldetomi commented 8 years ago

I would need to use this plugin using as "color source" not only images (or backgrounds) but also elements that have simple rgb() background (better if rgba() ones) and more important, graphics rendered in html canvas tag.

Please, is possible to do it?