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

Template:Rgb

From MafiaWiki
Revision as of 17:41, 21 August 2007 by Mr. Flay (talk | contribs) (add colors, reformat table,)
Jump to navigation Jump to search


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
{{rgb|ltred}} -     {{rgb|red}} -     {{rgb|darkred}} -    
{{rgb|yellow}} -     {{rgb|orange}} -     {{rgb|olive}} -    
{{rgb|ltblue}} -     {{rgb|blue}} -     {{rgb|darkblue}} -    
{{rgb|ltgreen}} -     {{rgb|green}} -     {{rgb|darkgreen}} -    
{{rgb|purple}} -     {{rgb|indigo}} -     {{rgb|violet}} -    
{{rgb|cyan}} -     {{rgb|teal}} -     {{rgb|brown}} -    
{{rgb|black}} -     {{rgb|gray}} -     {{rgb|white}} -