Template:ExplodeColors

From Caves of Qud Wiki
Revision as of 02:17, 18 December 2020 by Egocarib (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Explodes a 1 - 2 character string of color codes into full color names.

Example: {{ExplodeColors|rC}}

Output: dark red, cyan

Also accepts a firstonly parameter to only return the first color, if desired.