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
(→‎Examples: wikitable)
(tint of ltblue)
Line 9: Line 9:
| orange=ffa500
| orange=ffa500
| olive=808000
| olive=808000
| ltblue=00f
| ltblue=39f
| lblue=00f
| lblue=39f
| blue=00f  
| blue=00f  
| darkblue=00008b
| darkblue=00008b
Line 59: Line 59:
| olive || style="background:#808000" | 
| olive || style="background:#808000" | 
|-
|-
| ltblue, lblue || style="background:#44f " | 
| ltblue, lblue || style="background:#39f " | 
| blue || style="background:#00f " | 
| blue || style="background:#00f " | 
| darkblue, dblue || style="background:#00008b" | 
| darkblue, dblue || style="background:#00008b" | 

Revision as of 18:14, 21 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|colorname}}

colorname is 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