Template documentationedit documentation
Use this template to output colored text or a patch of color.
Note! Avoid relying solely on color to convey important information, because color is usually lost on print, some users are visually impaired or have color blindness, others use screen readers to read long texts, and software (such as search engines) are oblivious to it. Instead, prefer italics and bold text to highlight important information.
Examples[edit source]
{{Color}}
→{{Color|red}}
→{{Color|#f7931d}}
→{{Color|red|Warning!}}
→ Warning!{{Color|#f7931d|Attention!}}
→ Attention!
Color patches are useful for labeling maps, for example:
Template data[edit source]
Use this template to add color to a piece of text.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Color | 1 | Name or hex code
| String | optional |
Text | 2 | Text to be colored
| String | optional |