var hexRandomColor = function (){
return '#'+('00000'+Math.random()*0x1000000<<0).toString(16).slice(-6);
};
js随机生成十六进制颜色
最新推荐文章于 2025-05-14 09:01:05 发布
var hexRandomColor = function (){
return '#'+('00000'+Math.random()*0x1000000<<0).toString(16).slice(-6);
};