invert color
var invertColot = function(c) {
var t1 = '0123456789abcdef#'
var t2 = 'fedcba9876543210#'
return c.replace(/./gi, function(s){
return t2.charAt(t1.indexOf(s));
})
};
var invertColot = function(c) {
var t1 = '0123456789abcdef#'
var t2 = 'fedcba9876543210#'
return c.replace(/./gi, function(s){
return t2.charAt(t1.indexOf(s));
})
};
沒有留言:
張貼留言