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:

World map indicating the countries' Human Development Index in 2010 (Source: 2010 Human Development Report).
> 0.784 (Very High)
0.677–0.784 (High)
0.488–0.676 (Medium)
< 0.488 (Low)
no data

Template data[edit source]

Use this template to add color to a piece of text.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Color1

Name or hex code

Default
Black
Example
Red or #880808
Stringoptional
Text2

Text to be colored

Example
Attention!
Stringoptional


Cookies help us deliver our services. By using our services, you agree to our use of cookies.