Template:TextColor
From Inkipedia, the Splatoon wiki
Template invocation of Module:TextColor.
Produces an RGB triplet color value using in-game text colors. Note that some general colors might not be legible on a white background.
Parameters
color
|
Unnamed. | The character / color to use. Must be one of the following: | |
Splatoon | General colors | Red | |
Brown | |||
Orange | |||
Gold | |||
Yellow | |||
Lime | |||
Violet | |||
Characters | Callie | ||
Marie | |||
Cap'n Cuttlefish | |||
DJ Octavio | |||
Splatoon 2 | General colors | Orange S2 | |
Yellow S2 | |||
Green S2 | |||
Gray S2 | |||
Characters | Pearl | ||
Marina | |||
Sheldon | |||
Flow | |||
Craymond | |||
Jelfonzo | |||
Bisk | |||
Crusty Sean | |||
Murch | |||
Octo Canyon | Marie S2 | ||
Sheldon Octo Canyon | |||
Callie S2 | |||
DJ Octavio S2 | |||
Salmon Run | Mr. Grizz | ||
Salmon Run Orange | |||
Salmon Run Yellow | |||
Salmon Run Green | |||
Splatoon 3 | Characters | Shiver | |
Frye | |||
Big Man | |||
Sheldon S3 | |||
Gnarly Eddy | |||
Nails | |||
Jel La Fleur | |||
Mr. Coco | |||
Harmony | |||
Murch S3 | |||
Shelly | |||
Donny | |||
Annie S3 | |||
Moe S3 | |||
Jelonzo S3 | |||
Fred Crumbs | |||
Spyke S3 | |||
Crab-N-Go Staff | |||
Tableturf Battle Staff | |||
Recon Guide | |||
Return of the Mammalians | Cap'n Cuttlefish RotM | ||
DJ Octavio RotM | |||
Callie RotM | |||
Marie RotM | |||
O.R.C.A. | |||
Shiver RotM | |||
Frye RotM | |||
Big Man RotM | |||
Mr. Grizz RotM | |||
Any other value |
Example
Markup
<span style="color: rgb({{TextColor|Murch}});">Sample text</span>
For use in templates with an optional color parameter:
style=" color:rgb({{#if:{{{color|}}}|{{{color}}}|{{TextColor|Murch}}}}); "
Output
Sample text