Template:Color: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
Doubled the number of colors!
>NXTBoy
No edit summary
Line 1: Line 1:
Generates a standard color (in hexadecimal format), with a modifier. Valid colors are pink, orange, lime, green, blue, and purple. Valid modifiers are light, dark, and medium (default). Usage:
Generates a standard color (in hexadecimal format), with a modifier. Usage:


<code><nowiki>{{Color|orange|dark}}</nowiki></code> gives <{{1x|pre}} style="display:inline; display:inline-block; padding:0; border:none; background:transparent; margin:0;">{{Color|orange|dark}}</pre><br />
<code><nowiki>{{Color|orange|dark}}</nowiki></code> gives <{{1x|pre}} style="display:inline; display:inline-block; padding:0; border:none; background:transparent; margin:0;">{{Color|orange|dark}}</pre><br />
Line 6: Line 6:


<code><nowiki>{{Color|lime}}</nowiki></code> gives <{{1x|pre}} style="display:inline; display:inline-block; padding:0; border:none; background:transparent; margin:0;">{{Color|lime}}</pre>
<code><nowiki>{{Color|lime}}</nowiki></code> gives <{{1x|pre}} style="display:inline; display:inline-block; padding:0; border:none; background:transparent; margin:0;">{{Color|lime}}</pre>
Valid colors are red {{Color/example|red}},
orange {{Color/example|orange}},
yellow {{Color/example|yellow}},
lime {{Color/example|lime}},
green {{Color/example|green}},
turquoise {{Color/example|turquoise}},
cyan {{Color/example|cyan}},
blue {{Color/example|blue}},
indigo {{Color/example|indigo}},
purple {{Color/example|purple}},
magenta {{Color/example|magenta}},
pink {{Color/example|pink}}, and
gray {{Color/example}} (default).
Valid modifiers are light, dark, and medium (default).
<includeonly><onlyinclude>{{switch|{{{2|medium}}}|
<includeonly><onlyinclude>{{switch|{{{2|medium}}}|
   light  = {{switch|{{{1|}}}|
   light  = {{switch|{{{1|}}}|

Revision as of 06:55, 21 August 2010

Generates a standard color (in hexadecimal format), with a modifier. Usage:

{{Color|orange|dark}} gives

#BFB1A3


{{Color|purple|light}} gives

#FAF5FF


{{Color|lime}} gives

#E0F2CE


Valid colors are red

, orange

, yellow

, lime

, green

, turquoise

, cyan

, blue

, indigo

, purple

, magenta

, pink

, and gray

(default).

Valid modifiers are light, dark, and medium (default).