process ansi background color escape codes