View video tutorial
CSS Background Color
CSS
The background-color property specifies the background color of an element.
CSS background-color
The background-color property is used to specify the background color of an element.
Any valid color name or HEX value or RGB value can be assigned as a value for the background-color property.
Click on the "Try it Now" button to see how it works.