/Gradiate

Simple jQuery plugin to generate a gradient based on an element's existing background color

Primary LanguageJavaScript

Gradiate

Simple jQuery plugin to generate a gradient based on an element's existing background color

Usage

$('.color').gradiate();

or

//set the multiplier used to generate the opposing color
//(defaults to 0.8)
$('.color').gradiate(0.75);