set background color of div in html code example
Example 1: css change background color of page
/* Use the following code: */
html {background-color: #fefefe;}
/* You can change the hexedecimal code to RGB, RGBA, name & more colors!*/
Example 2: background color using css
/* To apply color to background you have to use 'background-color' property and value of property is color name. */
html,body {
background-color: blue;
}