Template:Color/doc

From Official Kodi Wiki
< Template:Color
Revision as of 20:57, 13 October 2012 by 66.193.103.195 (talk) (Undid revision 517628839 by 66.193.103.195 (talk))
Jump to navigation Jump to search


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