function ramColor() { return ‘#‘ + (‘00000‘ + (Math.random() * 0x1000000 << 0).toString(16)).slice(-6); }
随机颜色-js,布布扣,bubuko.com
随机颜色-js
原文:http://www.cnblogs.com/newsouls/p/3890779.html