functioncolor16(){//十六进制颜色随机var r = Math.floor(Math.random()*256);var g = Math.floor(Math.random()*256);var b = Math.floor(Math.random()*256);var color ='#'+ r.toString(16)+ g.toString(16)+ b.toString(16);return color;}// getColor();functiongetColor(params){setTimeout(()=>{functionfds(node){if(node.nodeType ===1){
node.style.color =color16();
node.style.fontSize =`${parseInt(Math.random()*40)}px`;}var children = node.childNodes;for(var i =0; i < children.length; i++){fds(children[i])}}setInterval(()=>{fds(document);},1000);},1000);}