首页 > 代码库 > 随机颜色-js

随机颜色-js

        function ramColor() {
            return ‘#‘ + (‘00000‘ + (Math.random() * 0x1000000 << 0).toString(16)).slice(-6);
        }