Template:Color
From TBATE Wiki
Jump to navigationJump to search
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
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!