de | en

CSS background-color

CSS Background-Color

Description

The CSS background-color property is used to define the background color of the selected element.

Example Background-Color

div.black {
   background-color: #000000;
}
div.red {
   background-color: red;
}
div.blue {
   background-color: rgb(0, 0, 255);
}

More CSS Properties