Template:Color: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy Fixed. Finally. |
m Here you go, fixed your broken code formatting bro. |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Generates a standard color (in hexadecimal format), with a modifier. Usage: | Generates a standard color (in hexadecimal format), with a modifier. Usage: | ||
< | <syntaxhighlight><nowiki>{{Color|orange|dark}}</nowiki></syntaxhighlight> gives <{{1x|pre}} style="display:inline; display:inline-block; padding:0; border:none; background:transparent; margin:0;">{{Color|orange|dark}}</pre><br /> | ||
< | <syntaxhighlight><nowiki>{{Color|purple|light}}</nowiki></syntaxhighlight> gives <{{1x|pre}} style="display:inline; display:inline-block; padding:0; border:none; background:transparent; margin:0;">{{Color|purple|light}}</pre><br /> | ||
< | <syntaxhighlight><nowiki>{{Color|lime}}</nowiki></syntaxhighlight> gives <{{1x|pre}} style="display:inline; display:inline-block; padding:0; border:none; background:transparent; margin:0;">{{Color|lime}}</pre> | ||
Latest revision as of 23:34, 4 May 2023
Generates a standard color (in hexadecimal format), with a modifier. Usage:
<nowiki>{{Color|orange|dark}}</nowiki>
gives
#AC6E2F
<nowiki>{{Color|purple|light}}</nowiki>
gives
#FAF5FF
<nowiki>{{Color|lime}}</nowiki>
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).
[#F2CECE]
[#FFF5F5]