Template:Color
From Workers & Resources: Soviet Republic Official Wiki
text?
Template for changing text foreground and background color. Accepts standard HTML color names or RGB hex triplets.
Usage
{{color|red|text}}
{{color|#FF0000|text}}
{{color|red|text|bg=green}}
Unless used on your user page, use with great caution as a poor contrast can make the text difficult to read. Be aware that this template does not change the color of links as these are determined by site or personal settings.
Parameters
<unnamed 1>
HTML color name or RGB hex triplet of text foreground color.
<unnamed 2>
Text which should be colored.
bg
HTML color name or RGB hex triplet of text background color.
Examples
{{color|red|text}}
results in: text{{color|#800080|text}}
results in: text{{color|yellow|text|bg=green}}
results in: text
This template was taken another Fandom project.
The contents of this page were partially or entirely copied from Nukapedia, Fallout Wiki, another Fandom project, and are licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. The original version, its history and authors can be found at the Nukapedia page "Template:Color."
|