The background-color CSS property sets the background color of an element.
- <color>
- The uniform color of the background. It is rendered behind any background-image that is specified, although the color will still be visible through any transparency in the image.
background-color="red"
background-color="indigo"
background-color="#bbff00" /* Fully opaque */
background-color="#bf0" /* Fully opaque shorthand */
background-color="rgb(255, 255, 128)" /* Fully opaque */
background-color="rgba(117, 190, 218, 0.5)" /* 50% transparent */