🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Color Mixer is a JavaScript (jQuery) color manipulation plugin for subtractive color mixing that mixes two provided colors together to create a third color.

color

Documentation

Color Mixer

For substractive mixing of colors. Requires jQuery and jQuery Color

Usage

includes:

<script type="text/javascript" src="http://code.jquery.com/	jquery-1.8.1.min.js"></script>  <script type="text/javascript" src="jquery-color/jquery.color.js"></script>  <script type="text/javascript" src="color_mixer.js"></script> 

Mixing Colors:

color_1 = $.Color("#F5FF00"); color_2 = $.Color("#00C2FF");  result_color = Color_mixer.mix(color_1,color_2);  $("body").css("background-color",result_color.toHexString()); 

Mix more than two Colors:

colors = new Array($.Color('#F5FF00'), $.Color('#00C2FF'), $.Color('#00C2FF'));  result_color = Color_mixer.mix(colors); 

Demo

Demo


You May Also Like