摘要: ####hex转rgb function hexToRgb (hex) { var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; hex = hex.replace(shorthandRegex, function (m, r, g, b) 阅读全文
posted @ 2020-11-04 10:50 米牙 阅读(373) 评论(0) 推荐(0) 编辑