Return a VT100 colored string.
public static color ( mixed $string, string | array $options = null ) | ||
$string | mixed | The string to color. |
$options | string | array | The possible values for an array are: - `'style`: a style code. - `'color'`: a color code. - `'background'`: a background color code. The string must respect one of the following format: - `'style;color;background'`. - `'style;color'`. - `'color'`. |