摘要:
1、jsvar Color = function () { //将hex颜色值str转化成rgb数组 this.HexToRgb = function (str) { var r = /^\#?[0-9a-f]{6}$/; //test方法检查在字符串中是否存在一个模式,如果... 阅读全文
posted @ 2014-11-13 09:59
ericyuan
阅读(1865)
评论(0)
推荐(0)
|
摘要:
1、jsvar Color = function () { //将hex颜色值str转化成rgb数组 this.HexToRgb = function (str) { var r = /^\#?[0-9a-f]{6}$/; //test方法检查在字符串中是否存在一个模式,如果... 阅读全文
posted @ 2014-11-13 09:59
ericyuan
阅读(1865)
评论(0)
推荐(0)
|