Template:ExplodeColors

From Caves of Qud Wiki
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.