The background-color property sets the background color of an element.
The background of an element is the total size of the element, including padding and border (but not the margin).
The background-color CSS property sets the background color of an element. You can set color of the background either through a color value or the keyword transparent.
The background of an element is the total size of the element, including padding and border (but not the margin). See the box model.
The syntax of the property is given with:
background-color: | color | transparent | initial | inherit |