convert

public static String convert(String string)

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


public static List<String> convert(List<? extends Object> list)

Converts a list of strings with color codes.

Return

The converted list

Parameters

list

The list to convert