Template:Color/doc
Appearance
| Documentation subpage |
|---|
| View this documentation's related template: Template:Color (edit). |
| Template styles: CSS styles (edit). |
Example(s)
[edit source]{{color|green}}gives: green{{color|#ccc|text}}gives: text{{color|blue|Some text}}gives: Some text{{color|red|Other text}}gives: Other text
Template Data
[edit source]Wraps an HTML span element around the given content and changes the text color to whatever Hex Code RGB color is set.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Enter the text content to color. | String | required |
| 2 | 2 | To override the default color, specify a valid CSS color name or hex color value, including the # character.
| String | optional |