Difference between revisions of "Template:Color/sandbox"

From RimWorld Wiki
Jump to navigation Jump to search
(Test cases to develop the actual template around.)
 
m (→‎Simple tests: colors for comparison: trouble with darkmode)
 
(4 intermediate revisions by one other user not shown)
Line 9: Line 9:
 
:Rock
 
:Rock
 
;Stuff Color
 
;Stuff Color
:{{Color|(100,80,80)}}
+
:{{Color|rgb=(100,80,80)}}
 
;Tech Level
 
;Tech Level
 
:Rock
 
:Rock
Line 32: Line 32:
 
( 160, 178, 181 )
 
( 160, 178, 181 )
 
{{Color|rgb=( 160, 178, 181 )}}
 
{{Color|rgb=( 160, 178, 181 )}}
 +
 +
256, 256, 256: Shouldn't work
 +
{{Color|text=false|256,256,256}}
 +
 +
255, 255, 255: #FFFFFF; White
 +
{{Color|text=false|rgb=255,255,255}}
 +
 +
255, 0, 0: #FF0000; Red
 +
{{Color|text=false|rgb=255,0,0}}
 +
 +
0, 255, 0: #00FF00; Green
 +
{{Color|text=false|rgb=0,255,0}}
 +
 +
0, 0, 255: #0000FF; Blue
 +
{{Color|text=false|rgb=0,0,255}}
 +
 +
255, 255, 0: #FFFF00; Yellow
 +
{{Color|text=false|rgb=255,255,0}}
 +
 +
0, 255, 255: #00FFFF; Cyan
 +
{{Color|text=false|rgb=0,255,255}}
 +
 +
255, 0, 255: #FF00FF; Magenta
 +
{{Color|text=false|rgb=255,0,255}}
 +
 +
0, 0, 0: #000000; Black
 +
{{Color|text=false|rgb=0,0,0}}
 +
 +
Here is some text. It is in English.
 +
 +
Things made of plasteel will use the color {{Color|rgb=160,178,181}}. This color is blue.
 +
 +
Lorem ipsum dolor sit amet.
  
 
== Alpha ==
 
== Alpha ==
Line 58: Line 91:
 
== Extra parameters ==
 
== Extra parameters ==
 
text=false
 
text=false
{{Color|160,178,181|text=false}}
+
{{Color|rgb=160,178,181|text=false}}
  
 
border=false
 
border=false
{{Color|160,178,181|border=false}}
+
{{Color|rgb=160,178,181|border=false}}
  
 
size=50px
 
size=50px
{{Color|160,178,181|size=50px}}
+
{{Color|rgb=160,178,181|size=50px}}
  
 
== Invalid input ==
 
== Invalid input ==

Latest revision as of 02:37, 8 August 2024

Rock

Bioferrite b.png

A cool rock I found.

Base Stats

Stuff Category
Rock
Stuff Color
Tech Level
Rock
Weapon Class
Rock

Simple tests[edit]

160,178,181

160, 178, 181

(160,178,181)

(160, 178, 181)

( 160, 178, 181 )

256, 256, 256: Shouldn't work

(256,256,256, 255, 255)

255, 255, 255: #FFFFFF; White

(255, 255, 255)

255, 0, 0: #FF0000; Red

(255, 0, 0)

0, 255, 0: #00FF00; Green

(0, 255, 0)

0, 0, 255: #0000FF; Blue

(0, 0, 255)

255, 255, 0: #FFFF00; Yellow

(255, 255, 0)

0, 255, 255: #00FFFF; Cyan

(0, 255, 255)

255, 0, 255: #FF00FF; Magenta

(255, 0, 255)

0, 0, 0: #000000; Black

(0, 0, 0)

Here is some text. It is in English.

Things made of plasteel will use the color

. This color is blue.

Lorem ipsum dolor sit amet.

Alpha[edit]

160,178,181,100

160, 178, 181, 100

(160,178,181,100)

(160, 178, 181, 100)

( 160, 178, 181 )

Alternate usage[edit]

160|178|181

160|178|181|100

Extra parameters[edit]

text=false

(160, 178, 181)

border=false

size=50px

Invalid input[edit]

red

#ffeeaa

700,700,700