def _get_result_color(self, time_taken):
time_taken_ms = time_taken * <NUM_LIT:1000><EOL>if time_taken_ms <= self.timer_ok:<EOL><INDENT>color = '<STR_LIT>'<EOL><DEDENT>elif time_taken_ms <= self.timer_warning:<EOL><INDENT>color = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>color = '<STR_LIT>'<EOL><DEDENT>return color<EOL>
Get time taken result color.