Template:Background color

From Botnets.fr
Jump to: navigation, search

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

Usage

{{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.

Examples

  • <code>{{Background color|red|Hello, world!}}</code> results in Hello, world!
  • <code>{{Background color|#00F000|Hello, world!}}</code> results in Hello, world!

See also

  • {{Color}} – sets text color only
  • {{Font color}} – sets both text and background color
  • {{Hilite}} – sets background color, with an optional expiry date
  • {{Resize}}