Modding:Colors & Object Rendering: Difference between revisions

m
move color table into template
m (wrong header level)
m (move color table into template)
Line 6: Line 6:


Only the preset letter codes are allowed, adding new colors isn't totally trivial at the moment.
Only the preset letter codes are allowed, adding new colors isn't totally trivial at the moment.
{| class="wikitable tablesorter tablesorter-default stickyTableHeaders"
{{Color Table}}
!Code
!Color
!Hex
!
|-
| r
| dark red
| #a64a2e
| {{color | r | █ }}
|-
| R
| bright red
| #d74200
| {{color | R | █ }}
|-
| o
| dark orange
| #f15f22
| {{color | o | █ }}
|-
| O
| bright orange
| #e99f10
| {{color | O | █ }}
|-
| w
| brown
| #98875f
| {{color | w | █ }}
|-
| W
| yellow
| #cfc041
| {{color | W | █ }}
|-
| g
| dark green
| #009403
| {{color | g | █ }}
|-
| G
| bright green
| #00c420
| {{color | G | █ }}
|-
| b
| dark blue
| #0048bd
| {{color | b | █ }}
|-
| B
| bright blue
| #0096ff
| {{color | B | █ }}
|-
| c
| dark cyan
| #40a4b9
| {{color | c | █ }}
|-
| C
| bright cyan
| #77bfcf
| {{color | C | █ }}
|-
| m
| dark magenta
| #b154cf
| {{color | m | █ }}
|-
| M
| bright magenta
| #da5bd6
| {{color | M | █ }}
|-
| k
| black
| #0f3b3a
| {{color | k | █ }}
|-
| K
| dark grey
| #155352
| {{color | K | █ }}
|-
| y
| bright grey
| #b1c9c3
| {{color | y | █ }}
|-
| Y
| white
| #FFFFFF
| {{color | Y | █ }}
|}
In XML files, such as ObjectBlueprints.xml, the ampersand (&) must be replaced by the encoded ampersand (&)
In XML files, such as ObjectBlueprints.xml, the ampersand (&) must be replaced by the encoded ampersand (&)
{| class="wikitable tablesorter tablesorter-default stickyTableHeaders"
{| class="wikitable tablesorter tablesorter-default stickyTableHeaders"