Template:Color/doc
Appearance
(Redirected from Template:Color/sandbox)
| This is a documentation subpage for Template:Color. It contains usage information, categories, and other content that is not part of the original template page. |
{{color}} can be used to specify the foreground color of a span of text. It supports any values that are valid for the CSS color property, such as RGB hex codes (e.g. #C9E72A), the web colors (e.g. red, blue, MediumSeaGreen, etc.) or CSS variables (e.g. var(--color-success)).
Usage
[edit]{{color|name of color or hex code of color|Text}}
For example:
If the second parameter is omitted, the color value is displayed as text: