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
No edit summary
mNo edit summary
Line 17: Line 17:
| lgreen=0f0
| lgreen=0f0
| lime=0f0
| lime=0f0
| green=080
| green=0a0
| darkgreen=060
| darkgreen=050
| dgreen=060
| dgreen=050
| purple=a0a
| purple=a0a
| teal=0aa
| teal=0aa
Line 67: Line 67:
| darkblue, dblue || style="background:#00008b" | 
| darkblue, dblue || style="background:#00008b" | 
|-
|-
| ltgreen, lgreen, lime || style="background:#0f0" | 
| ltgreen, lgreen || style="background:#0f0" | 
| green || style="background:#080 " | 
| green || style="background:#0a0 " | 
| darkgreen, dgreen || style="background:#060 " | 
| darkgreen, dgreen || style="background:#050 " | 
|-
|-
| purple || style="background:#a0a" | 
| purple || style="background:#a0a" | 

Revision as of 00:32, 22 August 2007


Returns a RGB color-code for the named color. The colors returned by this template are not the same as the standard predefined HTML/CSS colors.

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