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
(Messing with mafia color)
Line 32: Line 32:
| brown=a52a2a
| brown=a52a2a
| town=dfd
| town=dfd
| mafia=f00
| mafia=f66
| werewolf=fec
| werewolf=fec
| cult=fdf
| cult=fdf
Line 90: Line 90:
|-
|-
| town || style="background:#dfd" | 
| town || style="background:#dfd" | 
| mafia || style="background:#f00" | 
| mafia || style="background:#f66" | 
| werewolf || style="background:#fec" | 
| werewolf || style="background:#fec" | 
|-
|-

Revision as of 05:31, 30 October 2014


The colors returned by this template are not the same as the standard predefined HTML/CSS colors.

This template returns a RGB color-code for the named color.

Syntax

{{rgb| }}

Parameter(s)

{{{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  
town   mafia   werewolf  
cult   self