ଛାଞ୍ଚ:Background color
ଦେଖଣା
This template can be used to create a background color for a span of text.
Usage
[ସମ୍ପାଦନା]{{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.
Examples
[ସମ୍ପାଦନା]
results in Hello, world!{{Background color|red|Hello, world!}}
results in Hello, world!
{{Background color|#00F000|Hello, world!}}
See also
[ସମ୍ପାଦନା]- {{Color}}
- {{Font color}}
- {{Resize}}
- {{Hilite}}