处理颜色信息的jQuery插件:jQuery Xcolor

jopen 12年前

jQuery Xcolor 是 jQuery 用来处理颜色信息的插件,支持 RGB, HSV/HSB, HSL

示例代码:
// Example:  $("h1").colorize("rgb(215, 104, 10)", "rgb(96, 170, 173)",    function(){    // Callback has to return value between 0 (=from) and 1 (=to).    return Math.random()   });  });

项目主页:http://www.open-open.com/lib/view/home/1361147282275