The
The background color of a page is set like this:
background-color
property specifies the background color of an element.The background color of a page is set like this:
Example
body {
background-color: red;}
With CSS, a color is most often specified by:
- a valid color name - like "blue"
- a HEX value - like "#ff0000"
- an RGB value - like "rgb(255,0,0)"