JavaScript 生成随机颜色

const color='#'+parseInt(Math.random()*0xFFFFFF).toString(16);