Template:Color: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(send in the marines!)
(some documentation)
 
(10 intermediate revisions by 2 users not shown)
Line 6: Line 6:
| Violet = purple
| Violet = purple
| Silver = dimgray
| Silver = dimgray
| Green = darkgreen  
| Green = darkgreen
| black
| Black = black
}}</includeonly><noinclude>Used in [[Template:Roster]] to convert division colors into font colors.</noinclude>
| Grey = dimgray
| Gray = dimgray
| White = lightsteelblue
| red = maroon
| gold = darkgoldenrod
| blue = steelblue
| teal = teal
| violet = purple
| silver = dimgray
| grey = dimgray
| gray = dimgray
| green = darkgreen
| black = black
| white = lightsteelblue
| {{{1}}}
}}</includeonly><noinclude>Used by multiple templates such as [[Template:Roster]], [[Template:Sidebar]] and [[Template:Service Record]] to change color names to divisional colors. These redefined color names are used widely in the 118Wiki for uniformity.
 
{| class="wikitable"
|+ Redefined color names
|-
! Sample !! Name !! HTML name !! Hex code
|-
| style="background: maroon" | || Red || maroon || #800000
|-
| style="background: darkgoldenrod" |  || Gold || darkgoldenrod || #B8860B
|-
| style="background: steelblue" |  || Blue || steelblue || #4682B4
|-
| style="background: teal" |  || Teal || teal || #008080
|-
| style="background: purple" |  || Violet || purple || #800080
|-
| style="background: dimgray" |  || Silver || dimgray || #696969
|-
| style="background: darkgreen" |  || Green || darkgreen || #006400
|-
| style="background: black" |  || Black || black || #000000
|-
| style="background: lightsteelblue" |  || White || lightsteelblue || #B0C4DE
|}
 
The redefined names produce only divisional colors as listed above. If you want to use normal HTML colors whose names have been used above, use Hex color codes instead.
 
{| class="wikitable"
|+ Hex codes for HTML color names
|-
! Sample !! HTML name !! Hex code
|-
| style="background: red" | || Red || #FF0000
|-
| style="background: gold" | || Gold || #FFD700
|-
| style="background: blue" | || Blue || #0000FF
|-
| style="background: teal" | || Teal || #008080
|-
| style="background: violet" | || Violet || #EE82EE
|-
| style="background: silver" | || Silver || #C0C0C0
|-
| style="background: green" | || Green || #008000
|-
| style="background: black" | || Black || #000000
|-
| style="background: white" | || White || #FFFFFF
|}
[[Category:Wiki System Templates]]
</noinclude>

Latest revision as of 16:27, 1 February 2024

Used by multiple templates such as Template:Roster, Template:Sidebar and Template:Service Record to change color names to divisional colors. These redefined color names are used widely in the 118Wiki for uniformity.

Redefined color names
Sample Name HTML name Hex code
Red maroon #800000
Gold darkgoldenrod #B8860B
Blue steelblue #4682B4
Teal teal #008080
Violet purple #800080
Silver dimgray #696969
Green darkgreen #006400
Black black #000000
White lightsteelblue #B0C4DE

The redefined names produce only divisional colors as listed above. If you want to use normal HTML colors whose names have been used above, use Hex color codes instead.

Hex codes for HTML color names
Sample HTML name Hex code
Red #FF0000
Gold #FFD700
Blue #0000FF
Teal #008080
Violet #EE82EE
Silver #C0C0C0
Green #008000
Black #000000
White #FFFFFF