jQuery Xcolor颜色信息处理

联合创作 · 2023-10-02 16:59

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()
	});
});
浏览 1
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报