![]() |
The background-color property defines the background color of an element.
| Value | Description |
|
Transparent |
Default value. Makes the background color transparent. |
|
RGB color value |
Example: rgb(0,255,0) |
|
Hexadecimal color keyword |
Example: #FF0000 |
|
CSS color keyword |
Example: red |
background, background-attachment, background-image, background-position and background-repeat.
Example text
Comments