No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude><div style="width: | <includeonly><onlyinclude><div style="width:150px; margin:10px; padding:20px; text-align:center; border:2px solid #FAFAFA; border-radius: 5px; color: black; background-color: #{{{2|}}}; font-family: monospace;"><strong>{{{1|{{Required|2|Color}}}}}</strong><br />#{{{2|{{Required|2|Color}}}}}</div></onlyinclude></includeonly> | ||
Revision as of 09:55, 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
#CCCCCC
The documentation above was transcluded from Template:Color/Documentation. [edit]
