No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude><div>{{{1|{{Required|2|Color}}}}}<div class="sample" style="color: black; background-color: #{{{2|}}}; font-family: monospace">#{{{2|{{Required|2|Color}}}}}</div></div></onlyinclude></includeonly> | <includeonly><onlyinclude><div style="text-align:center"><strong>{{{1|{{Required|2|Color}}}}}</strong><div class="sample" style="color: black; background-color: #{{{2|}}}; font-family: monospace">#{{{2|{{Required|2|Color}}}}}</div></div></onlyinclude></includeonly> | ||
Revision as of 09:18, 2 November 2022
Template:Color is used to present sample colors, primarily in Style Sheets.
Usage
It accepts two mandatory parameters:
1is a description of the color.2is the hexadecimal color code.
Return
{{Color|Default Gray|CCCCCC}} returns: Default Gray
#CCCCCC
The documentation above was transcluded from Template:Color/Documentation. [edit]
