Template:Bg
This template can be used to create a background color for a span of text.
Usage
edit{{bg|t=<text>|c=<color>}}
Alternatively, the attributes can be unnamed:
{{bg|<text>|<color>}}
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.
See also
edit- {{Colors}} – background/text color (text in free span)
- {{TextColors}} – background/text color (text in block table)
- {{bkg}} – background color (text in free span)
- {{bg}} – background color (text in free span)