获取随机颜色

86 阅读1分钟

function getRandomColor(){
return #${Math.floor(Math.random() * 0xffffff) .toString(16)};
}