Add missing color codes when parsing input.