Skip to main content

BackgroundColor

Description

Sets the background color for the element’s content area.

Owner

Layout

Inheritable

No

Default Value

If this attribute is not specified, the element shall be treated as if its background were transparent.

Values

Value Type:
array
  • The value shall be an array of three numbers in the range 0.0 to 1.0, representing the red, green, and blue values, respectively, of an RGB colour space

Related Tags

Art
Artifact
Aside
BibEntry
BlockQuote
Caption
Code
Div
Document
DocumentFragment
Em
FENote
Figure
Form
Formula
H
Hn
Index
L
LBody
LI
Lbl
Link
NonStruct
Note
P
Part
Private
Quote
RB
RP
RT
Reference
Ruby
Sect
Span
Strong
Sub
TBody
TD
TFoot
TH
THead
TOC
TOCI
TR
Table
Title
WP
WT
Warichu