Template:TeamAbbrToColor

From Golly.Life Wiki

Revision as of 17:14, 26 July 2025 by Ch4zm (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a switch that takes a capitalized team abbreviation as an input and returns the hex color of the team.

This returns the color WITHOUT the hash sign. This means it is useful for DISPLAY PURPOSES ONLY.

If you want the color WITH the hash sign, for actually coloring things, see {{TeamAbbrToHexColor}}

This is useful for coloring tables and for using with {{HexColor}}:

{{HexColor|{{TeamAbbrToColor|SS}}}}

#e86215

{{HexColor|{{TeamAbbrToColor|DD}}}}

#9963ab