ColourBrightness.js : jQuery plugin to determines the Background Colour

ColourBrightness.js : jQuery plugin to determines the Background Colour

A lightweight and easy-to-use jQuery plugin that determines if the background colour of an element is light or dark.It’ll grab the background colour of that element and uses a small algorithm to determine the brightness of the colour and will add the class light if the colour is light and dark if the colour is dark.

Leave a Reply