Template:Background color
Jump to navigation
Jump to search
Usage[edit source]
{{Background color|<color>|<text>}}
Web colors provides a list of colors which can be used. Simple colors, like black, blue, red, green, etc. can just be spelled out. Alternatively, colors can be specified using either RGB or hex notation.
Examples[edit source]
results in Hello, world!{{Background color|red|Hello, world!}}
results in Hello, world!{{Background color|#00F000|Hello, world!}}
Tracking category[edit source]
Supporting template[edit source]
See also[edit source]
- {{Color}} – sets text color only
- {{Font color}} – sets both text and background color
- {{Color contrast ratio}}
- {{Hilite}} – sets background color, with an optional expiry date
- {{Resize}}
External links[edit source]
- Template:Background color at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
The above documentation is transcluded from Template:Background color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |