Template:Color
Usage
edit{{color|name of color or hex code of color|Text}}
For example:
{{color|red|Hello, world!}}
results in Hello, world!
{{color|#00F000|Hello, world!}}
results in Hello, world!
See w:Web colors#HTML color names for a list of colors.
TemplateData
editThe color template can be used to add a span of text with any given text color
Parameter | Description | Type | Status | |
---|---|---|---|---|
Color name or code | 1 color | Name of color or hex code of color | String | required |
Alpha-numeric text | 2 text | The string of text to be formatted in the desired color | String | required |