Template:Color/doc
Appearance
This is a documentation subpage for Template:Color. It may contain usage information, categories and other content that is not part of the original template page. |
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}}