background-color

background color of the element

Example

1

Description

background color of the element

Values

Value Description
Values
#RRGGBBa hexadecimal color value
a color namea named color preset, such as black, white, red, etc.
rgb(r,g,b)a color with integer or percentage rgb values
currentcolor
transparentinherits background color of parent element
-webkit-activelink
-webkit-focus-ring-color
-webkit-link
-webkit-text