random thought... ANSI color codes are a PITA. Hex colors are pretty universal at this point. I'm wondering if there wouldn't be value in a wee executable that took in something like "{{#FFFFFF;#000000}}white on black{{/#FFFFFF;#000000}}" and returned "\e[37;40mwhite on black\e[0m" Or maybe '<ansi-style color="#FFFFFF" background-color="#000000" weight="bold">bold white on black</ansi-style>'
Anyway. some easy template that converted to escape codes.