You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Rgb: Difference between revisions
Jump to navigation
Jump to search
SigmaEpsilon (talk | contribs) (+cat sort) |
LyingBrian (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{ #switch:{{{1}}} | <includeonly>#{{ #switch:{{{1}}} | ||
| blue= | | blue=00a | ||
| red= | | red=a00 | ||
| green= | | green=0a0 | ||
| light-green= | | light-green= 0f0 | ||
| | | {{{1}}} }}</includeonly> | ||
<noinclude> | <noinclude> | ||
Returns the RGB color-code of named color. ''The colors returned by this template are '''not''' the same as the standard predefined CSS colors.'' | Returns the RGB color-code of named color. ''The colors returned by this template are '''not''' the same as the standard predefined CSS colors.'' |
Revision as of 09:10, 21 August 2007
Returns the RGB color-code of named color. The colors returned by this template are not the same as the standard predefined CSS colors.
Usage
{{rgb|colorname}}
colorname is the name of the desired color. Entering an RGB code without a leading # will simply append the # symbol. Entering an RGB code with a leading # symbol should not be attempted; simply enter that code directly. Doing so within this template will always result in white.
Examples
Curently, the following colors are defined.
Color name | Example color |
|
|
|
|
|
|
|
|
|
|
|
|