convert
Converts a string with color codes to a colored string. Handles legacy &codes, hex colors, and gradients.
Return
The converted string with color codes applied
Parameters
string
The string to convert
Converts a list of strings with color codes.
Return
The converted list
Parameters
list
The list to convert