functionbac(){var gba ="rgb("+ Math.floor(Math.random()*255)+','+ Math.floor(Math.random()*255)+','+ Math.floor(Math.random()*255)+')'return gba
};
document.getElementsByTagName('div')[0].style.backgroundColor =bgc();
functiongetRandom(min, max){return Math.floor(Math.random()*(max - min +1))+ min;}functiongetRandomColor(){return'rgb('+getRandom(0,255)+','+getRandom(0,255)+','+getRandom(0,255)+')'}
document.body.style.backgroundColor =getRandomColor();