随机颜色-js

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

posted @ 2014-08-04 18:22  大脸  阅读(595)  评论(0编辑  收藏  举报