colourz

Colourz, a jquery plugin for color conversion.

intro

colourz. A jQuery plugin for image conversion. I’m tired of looking in drawing software or in google to get RGB value from hex value etc.

Demo : v0.1 (broken link)

Github : https://github.com/SiegfriedEhret/colourz

how ?

Include jquery. Include colourz.js. Add some js code :

$(function () {
  $('#hex-to-rgb').colourz({
    from:'#hex',
    to:'#rgb',
    mode:'hex-to-rgb',
    opacity:.2,
    elementToPimp:'body',
    cssProperty:'background-color'
  });
});

options

license

This plugin is licensed under the terms of the WTF Public License (see http://en.wikipedia.org/wiki/WTFPL and http://sam.zoy.org/wtfpl/) :

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.