colorize output according to priority