1.0.12 • Published 10 years ago

luminosity v1.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
10 years ago

A jQuery plugin that determines whether text should be black or white depending on the background colour.

To install via NPM run:

npm install luminosity

To install via Bower run:

bower install luminosity

To use, simply pass in a valid HEX colour string.

For example:

$().('#FF0000');

This HEX colour (red) will return '#fff'

For a working example, please visit my demo page.

1.0.12

10 years ago

1.0.11

10 years ago

1.0.10

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.0

10 years ago

3.0.0

12 years ago