jamiebrittain/colourBrightness.js — pull request #5 by contentfree (2014-12-09 01:36:44+00:00)
Title: Refix the rgba bug and handle elements with transparent backgrounds

In the previous commit, the rgba fix was rebroken. It's fixed here. We also climb up the dom when the given element has a transparent background.