- Description
Sets the background color of an element.
- Live Example
- Play with the code in the textarea below.
- Values
- blue | #009900 | rgb(0, 255, 0)
- Default value
- transparent
- Introduced in CSS version
- 1
- Applies to elements
- All
- Inherited
- No
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions 5 1 1 6 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties