Template:Color
Revision as of 19:45, 28 February 2007 by imported>Konoko (minor fixes)
{{{2}}}
code
<span style="color: {{{1}}};">{{{2}}}</span>
usage
- {{color|your_color|your_text}}
- your_color can be any color name, or the RGB, or Hex. Red, rbg(255,0,0) and #FF0000 all net the same result. List of colornames and Hex equivalents, RGB can be found on nearby pages
note
Those familiar with CSS will note that you could add more CSS code in place of your_color, as long as a color is specified first, and you are aware of the final semicolon.
- {{color|blue|stuff}} stuff
- {{color|blue; font-weight: bold|stuff}} stuff