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
The colors returned by this template are not the same as the standard predefined HTML/CSS colors.
Dani Banani (talk | contribs) mNo edit summary |
Dani Banani (talk | contribs) mNo edit summary |
||
Line 31: | Line 31: | ||
| dgray=555 | | dgray=555 | ||
| brown=a52a2a | | brown=a52a2a | ||
| {{{1}}} }}</includeonly><noinclude> | | {{{1}}} }}</includeonly> | ||
<center>''The colors returned by this template are '''not''' the same as the standard predefined HTML/CSS colors.''</center> | <noinclude><center>''The colors returned by this template are '''not''' the same as the standard predefined HTML/CSS colors.''</center> | ||
This template returns a RGB color-code for the named color. | This template returns a RGB color-code for the named color. | ||
Revision as of 05:48, 17 November 2007
This template returns a RGB color-code for the named color.
Usage
{{rgb| }}
Parameter
- {{{1}}}
- The name of the desired color. Entering an RGB code without a leading # will simply pre-pend 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 | Example | Color | Example | Color | Example |
---|---|---|---|---|---|
ltred, lred, pink | red | darkred, dred | |||
yellow | orange | olive | |||
ltblue, lblue | blue | darkblue, dblue | |||
ltgreen, lgreen | green | darkgreen, dgreen | |||
purple | indigo | violet | |||
cyan | teal | brown | |||
black | grey, gray | white |