获取随机颜色 闲者无敌 2022-12-04 86 阅读1分钟 function getRandomColor(){ return #${Math.floor(Math.random() * 0xffffff) .toString(16)}; }