Template:Bgcolor
Jump to navigation
Jump to search
Usage[edit]
This template is not used
This template is usable to create text & background colors.
- {{Bgcolor|t=text|c=(hexadecimal) background color}} [|x=text color]}}
which can also done by
- {{Color|[1=text color]|2=text|bg=background color}}
- {{Font color|1=text color|2=background color|3=text}}
- {{TextColors|1=text color|2=background color|3=text}}
- {{NestTextColors|1=text color|2=background color|3=text}}
- {{Highlight|1=text|2=background color|3=text color|}}
- and otherwise, which makes
Bgcolor
dispensable.
- and otherwise, which makes
Please see Web colors for a list of hexadecimal colors, and choose what you want.
Note that simple colors, like black, blue, red, green
etc. (or: none
) can just be spelled out.
See also[edit]
- {{
Color
}} – background/text color (text in free span) - {{Font color}} – background/text color (text in free span)
- {{TextColors}} – background/text color (text in block table)
- {{NestTextColors}} – background/text color (text in block div)
- {{Highlight}} – background/text color (text in free span)