Template:Color/Documentation
Jump to navigation
Jump to search
Documentation
Makes text colored. Use as follows:
{{Color|[valid CSS color]|[Text you want to be colored]}}
For more information on CSS colors, see here.
For colored links, see {{Colored link}}.
Examples
| Wikitext | Output | |
|---|---|---|
| CSS named color | {{Color|pink|Text}}
|
Text |
| Hex color | {{Color|#058345|Text}}
|
Text |
| RGB color | {{Color|rgb(124, 68, 165)|Text}}
|
Text |
| System color | {{Color|ActiveText|Text}}
|
Text |
| Wiki custom property[a] | {{Color|var(--color-hyperlink)|Text}}
|
Text |