Template:Color
Appearance
This template is used on 474,000+ pages, or roughly 201% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template can be used to add a span of text with a given color.
Usage
[edit source]{{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 w:Web colors for a list of colors.
See also
[edit source]- {{Background color}}
- {{Resize}}