Open A-XiongLiJun opened 3 years ago
https://a-xionglijun.github.io/2020/11/20/torgb/
转换 CSS 中的颜色编码如:// alert(toRGB(‘#0000FF’)) // 输出 rgb(0, 0, 255)// alert(toRGB(‘invalid’)) // 输出 invalid// alert(toRGB(‘#G
https://a-xionglijun.github.io/2020/11/20/torgb/
转换 CSS 中的颜色编码如:// alert(toRGB(‘#0000FF’)) // 输出 rgb(0, 0, 255)// alert(toRGB(‘invalid’)) // 输出 invalid// alert(toRGB(‘#G