jQuery Plugin For Generating Random Colors - Autumn.js
File Size: | 10.8KB |
---|---|
Views Total: | 1341 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

Autumn.js is a lightweight jQuery color plugin that randomly generates different colors for coloring your html containers like buttons, tags, navigation, and more.
Basic Usage:
1. Load the latest jQuery javascript library and autumn.js script on your web page
<script src="http://code.jquery.com/jquery-latest.min.js"></script>> <script src="autumn.js"></script>
2. Include HUSL script for human-friendly HSL color space
<script src="http://code.jquery.com/jquery-latest.min.js"></script>> <script src="autumn.js"></script>
3. Create a group of html elements that will be colored randomly
<div>World</div> <div>Politics</div> <div>Business</div> <div>Tech</div> <div>Entertainment</div> <div>Health</div> <div>Cats</div> <div>Dogs</div>
4. Just call the plugin and you're done
<script> $("div").autumn(); </script>
This awesome jQuery plugin is developed by nluqo. For more Advanced Usages, please check the demo page or visit the official website.