Template:Color/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Color
(see that page for the template itself). It contains usage information, categories, and other content that is not part of the original template page. |
|
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.