const num1 = Math.floor(Math.random() * 256);
const num2 = Math.floor(Math.random() * 256);
const num3 = Math.floor(Math.random() * 256);
const rgb = `rgb(${num1}, ${num2}, ${num3})`;
console.log(rgb);
const hex = `#${num1.toString(16)}${num2.toString(16)}${num3.toString(16)}`;
console.log(hex);