This is the template sandbox page for Template:Background color (diff). See also the companion subpage for test cases. |
This template is used on approximately 5,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
{{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.
{{Background color|red|Hello, world!}}
results in Hello, world!{{Background color|#00F000|Hello, world!}}
results in Hello, world!