ଛାଞ୍ଚ:Background color

ଉଇକିପିଡ଼ିଆ ରୁ
Jump to navigation Jump to search

Template documentation[view] [edit] [history] [purge]

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[ସମ୍ପାଦନା]

{{Background color|red|Hello, world!}} results in Hello, world!
{{Background color|#00F000|Hello, world!}} results in Hello, world!

See also[ସମ୍ପାଦନା]