ANSI escape code (or escape sequences) is the method of in-band signaling to control formatting, color, and other output options on video text terminals.