Template:Color/doc

From Saintapedia
< Template:Color
Revision as of 12:52, 11 February 2019 by >Rusty.perrin (→‎DOE green: Add equivalent RGB code)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template:Color on Wikipedia

The Color template can be used to add a span of text with a given color.

Usage

{{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!

View a list of available Web Colors. See also Help:Mediawiki color for more information about colors in Powerpedia.

DOE green

If you want to use DOE Green, use #0F6636 in the color name like this: {{color|#0F6636|DOE Green}}. To get the same color outside Powerpedia in software that uses RGB color codes, the equivalent RGB code is 15, 102, 54.

Accessibility

See also

  • {{background}} to set both the text color and the background color.