support extracted color codes in legacy formatters