(Created page with "<includeonly>Category:Formatting Template</includeonly> {{Template|Color}} is used to present sample colors, primarily in {{Category|Style Guide}}s. ==Usage== It accepts two {{Parameter|mandatory}}s: * {{code|1}} is a description of the color. * {{code|2}} is the hexadecimal color code. ==Return== {{Code|<nowiki>{{Color|Default Gray|CCCCCC}}</nowiki>}} returns: {{Return|{{Color|Default Gray|CCCCCC}}}}") |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>[[Category:Formatting Template]]</includeonly> | <includeonly>[[Category:Formatting Template]]</includeonly> | ||
{{Template|Color}} is used to present sample colors, primarily in {{Category|Style | {{Template|Color}} is used to present sample colors, primarily in {{Category|Style Sheet}}s. | ||
==Usage== | ==Usage== | ||
It accepts two {{Parameter|mandatory}}s: | It accepts two {{Parameter|mandatory}}s: | ||
Latest revision as of 09:17, 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
