Template:Color/doc
Jump to navigation
Jump to search
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Used to display colors. Can be in any format supported by CSS (hexadecimal, rgb(a), hsl(a), keyword).
Examples
{{color|#123456}}
:
#123456
{{color|rgb(241, 042, 176)}}
:
rgb(241, 042, 176)
{{color|hsl(45, 100%, 50%)}}
:
hsl(45, 100%, 50%)
{{color|peachpuff}}
:
peachpuff
{{color|cyan|custom text}}
:
custom text
TemplateData
Used to display colors.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Color value | 1 | Technical information describing the color.
| Unknown | required |
Text | 2 | Custom text to show instead of the color value.
| Content | optional |