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

This template can be used to add a span of text with a given color.

Usage

{{color|name of color or hex code of color|Text}}

For example:

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

Wikitext generated:

<span style="color:{{{1|}}}">{{{2|}}}</span>

See Web colors for a list of colors.

See also

  • {{Background color}}
  • {{Resize}}
  • {{LinkColor}}

af:Sjabloon:Kleur fr:Modèle:Coloré no:mal:farve pt:Predefinição:Color ro:Format:Color sl:Predloga:Barva uk:Шаблон:Кольоровий текст zh-yue:Template:Color