X

colourBrightness

Lets you determine if the background colour of an element is light or dark.