term.color

term

color(fg, bg) -> ansi

Build an ANSI color escape sequence for foreground and background

Color values can be a named color string (e.g. "red"), a 256-color index number, or an RGB table {r, g, b}.