youHue is a JQuery plugin that generates random colors for elements on every page load.
random color javascript, generate random color javascript, javascript random color hex, random dark color generator javascript, get random color code js
How to make use of it:
1. First you need to include the js file in your project.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script src="youHue.js"></script>
2. Once you have included the youHue.js file in your project directory.
$(".example").youHue({ // OPTIONS });
3. Options for random colors.
$(".example").youHue({ // randomize colors randomize: false, // enable random background color backgroundColor: false, // enable random foreground color foregroundColor: false, // an array of your own colors colors: '', // enable your own color palettes myForeground: false, myBackground: false, myRandom: false });
jQuery Plugin To Add Random Colors To Elements, youHue Plugin/Github
See Demo And Download
Official Website(lewisjwright): Click Here
This superior jQuery/javascript plugin is developed by lewisjwright. For extra advanced usage, please go to the official website.