You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Rgb: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(update examples)
(→‎Examples: update colors again)
Line 16: Line 16:
</nowiki></code>
</nowiki></code>
|
|
<span style="background-color:{{rgb|blue}};color:{{rgb|blue}}">____</span>
<span style="background-color:{{rgb|blue}}">&emsp;&emsp;</span>
|-  
|-  
|
|
Line 23: Line 23:
</nowiki></code>
</nowiki></code>
|
|
<span style="background-color:{{rgb|red}};color:{{rgb|red}}">____</span>|-  
<span style="background-color:{{rgb|red}}">&emsp;&emsp;</span>
|-
|
|
<code><nowiki>
<code><nowiki>
Line 29: Line 30:
</nowiki></code>
</nowiki></code>
|
|
<span style="background-color:{{rgb|green}};color:{{rgb|green}}">____</span>|-  
<span style="background-color:{{rgb|green}}">&emsp;&emsp;</span>  
|-
|
|
<code><nowiki>
<code><nowiki>
Line 35: Line 37:
</nowiki></code>
</nowiki></code>
|
|
<span style="background-color:{{rgb|light-green}};color:{{rgb|light-green}}">____</span>
<span style="background-color:{{rgb|light-green}}">&emsp;&emsp;</span>
|}
|}
</noinclude>
</noinclude>

Revision as of 01:15, 21 August 2007


Returns the RGB color-code of named color. The colors returned by this templte are not the same as the standard predefined CSS colors.

Examples

Curently, the following colors are defined. A hexadecimal RGB code is also acceptable.

Color name Example color

{{rgb|blue}}

  

{{rgb|red}}

  

{{rgb|green}}

  

{{rgb|light-green}}