The background-color property specifies the background color of an element. Color values can be defined with HEX, RGB, or color name.
Setting the background color with an RGB value.
body {
background-color: rgb(100, 70, 200);
}
Setting the background with a color Name.
body {
background-color: blue;
}
Setting the background color with a HEX value.
body {
background-color: #92a8d1;
}
background-color: value;
For more information, see http://www.w3schools.com/cssref/pr_background-color.asp
Found a bug in the documentation? Let us know at documentation@code.org