Template:Color/doc

From TBATE Wiki
Jump to navigationJump to search

Description[edit source]

This template can be used to specify the foreground color of a span of text. Acceptable values are RGB hex codes, e.g. #C9E72A, or any of the web colors: red, blue, green, moccasin, darkorchid, etc.

Usage[edit source]

  • {{Color|name of color or hex code of color|Text}}
For example
  • {{Color|Red|Hello, world!}}
    Hello, world!
  • {{Color|#00F000|Hello, world!}}
    Hello, world!