jQuery Plugin To Create Animated Color Transitions Recolor - Download jQuery Plugin To Create Animated Color Transitions - Recolor

Download jQuery Plugin To Create Animated Color Transitions – Recolor

Posted on

This time I will share jQuery Plugin and tutorial about jQuery Plugin To Create Animated Color Transitions – Recolor, hope it will help you in programming stack.

jQuery Plugin To Create Animated Color Transitions Recolor - Download jQuery Plugin To Create Animated Color Transitions - Recolor
File Size: 5.81 KB
Views Total: 546
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Recolor is a jQuery plugin which applies smooth color transitions to any html elements such as text, DIVs, tables and many more.

How to use it:

1. Just include the jQuery Recolor plugin’s script after jQuery library and we’re ready to go.

1 <script src="//code.jquery.com/jquer.min.js"></script>
2 <script src="jquery-recolor.js"></script>

2. Create a ‘color blink’ effect on your text.

1 <p id="demo-1">Lorem ipsum dolor</p>
1 $('#demo-1').recolor({
2   color: "grey",
3   speed: "fast",
4 });

3. Create a smooth color transition effect on your text.

1 <p id="demo-2">Lorem ipsum dolor</p>
1 $('#demo-2').recolor({
2   effect: "ripple",
3   speed: 500
4 });

4. Create a background color transition effect on a specific DIV container.

1 <div id="demo-3"></div>
1 $('#demo-3').recolor({
2   effect: "ripple",
3   speed: 1000
4 });

5. Plugin’s default options.

01 $('#demo').recolor({
02   color: "blue",
03   width: "4px",
04   lineWidth: 15,
05   lineJoin: 'round',
06   lineCap: 'round',
07   shape: "line", // or circle
08   shadowOffsetX: "12px",
09   shadowOffsetY: "12px",
10   shadowBlur: 10,
11   shadowColor: 'rgb(0, 0, 0)'
12 });

Change log:

2016-11-15

  • Removed drawable function.

2016-10-30


This awesome jQuery plugin is developed by adamatyork. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net