def _colored_time(self, time_taken, color=None):
if self.timer_no_color:<EOL><INDENT>return "<STR_LIT>".format(time_taken)<EOL><DEDENT>return _colorize("<STR_LIT>".format(time_taken), color)<EOL>
Get formatted and colored string for a given time taken.