The background-color property sets the background color of an object.
Value | Description |
---|---|
transparent | Default. The background color is transparent (means that the underlying color will shine through) |
color | The color value can be a color name (red), a rgb value (rgb(255,0,0)), or a hex number (#ff0000) |