Really simple question

$w ( ‘Document’ ). background . src = “https://dummyimage.com/1/000000

is there a way to change the .background.src into something that lets you input the color, please tell me the correct way to write a code line that changes the background color of the page into a specified color.