Template:Textcolor

From Adventure Game Studio | Wiki
Jump to navigation Jump to search

Produces colored text. Takes a CSS text color value (#HEX value, CSS color name, or rgb function) 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.

Then:

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

Produces:

    This is some green text.

And finally:

 {{textcolor|blue|This is some blue text.}}

Gives:

    This is some blue text.

See Also: Template:Backgroundcolor