Template:Textcolor: Difference between revisions

From Adventure Game Studio
Jump to navigation Jump to search
*>Monkey 05 06
No edit summary
*>Monkey 05 06
mNo edit summary
Line 12: Line 12:


&nbsp;&nbsp;&nbsp;&nbsp;<span style = "color: rgb(0,0,255)">This is some blue text.</span>
&nbsp;&nbsp;&nbsp;&nbsp;<span style = "color: rgb(0,0,255)">This is some blue text.</span>
''See Also:'' [[:Template:Backgroundcolor]]


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 06:03, 22 May 2009

Produces colored text. Takes a CSS color value (#HEX value or rgb(R,G,B)) as the first parameter and the text as the second:

 {{textcolor|#FF0000|This is some red text.}}

Would print out:

    This is some red text.

 {{textcolor|rgb(0,0,255)|This is some blue text.}}

Produces:

    This is some blue text.

See Also: Template:Backgroundcolor