ランダムカラーを生成する

const square=document.getElementById('square');
let randomColor=Math.floor(Math.random()*360);
square.style.backgroundColor=`hsl(${randomColor},100%,50%)`;