Template:Color

From RimWorld Wiki
Revision as of 17:16, 12 April 2024 by Turnovus (talk | contribs) (Template passes most existing tests. Support for disabling border not included. Line-breaking behaves weirdly around the template, but that may be an issue with the tests themselves. Work in progress.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Rock

Bioferrite b.png

A cool rock I found.

Base Stats

Stuff Category
Rock
Stuff Color
(100, 80, 80)
Tech Level
Rock
Weapon Class
Rock

Simple tests

160,178,181

(160, 178, 181)

160, 178, 181

(160, 178, 181)

(160,178,181)

(160, 178, 181)

(160, 178, 181)

(160, 178, 181)

( 160, 178, 181 )

(160, 178, 181)

256, 256, 256: Shouldn't work

255, 255, 255: #FFFFFF; White

255, 0, 0: #FF0000; Red

0, 255, 0: #00FF00; Green

0, 0, 255: #0000FF; Blue

255, 255, 0: #FFFF00; Yellow

0, 255, 255: #00FFFF; Cyan

255, 0, 255: #FF00FF; Magenta

0, 0, 0: #000000; Black

Here is some text. It is in English.

Things made of plasteel will use the color (160, 178, 181)
. This color is blue.

Lorem ipsum dolor sit amet.

Alpha

160,178,181,100

(160, 178, 181, 100)

160, 178, 181, 100

(160, 178, 181, 100)

(160,178,181,100)

(160, 178, 181, 100)

(160, 178, 181, 100)

(160, 178, 181, 100)

( 160, 178, 181 )

(160, 178, 181, 100)

Alternate usage

160|178|181

(160, 178, 181)

160|178|181|100

(160, 178, 181, 100)

Extra parameters

text=false

border=false

(160, 178, 181)

size=50px

(160, 178, 181)

Invalid input

red

(red, 255, 255)

#ffeeaa (

  1. ffeeaa, , )

700,700,700

(700, 700, 700)