Menu Samaritan's Purse

BACKGROUND-COLOR

The background-color property sets the background color of an element.

SYNTAX

CSS

background-color: value;

JS

object.style.backgroundColor = "value";

VALUES

<'background-color'> = <color>
<color>

Specifies the color using a keyword or a numerical specification.

INITIAL

transparent

EXAMPLES

COLOR

JS

INTERNAL

background

background-attachment

background-clip

background-image

background-position

background-repeat

EXTERNAL

World Wide Web Consortium (W3C)