parameters: (self, percent)
return_statement: return color
docstring: get a color code based on percentage of task completion
docstring_summary: get a color code based on percentage of task completion
docstring_tokens: get a color code based on percentage of task completion
function: def _get_bar_color_code(self, percent):
          ''' get a color code based on percentage of task completion '''
          color = "grey"
          if percent == 100:
              color = "green"
          elif percent >= 80:
              color = "blue"
          elif percent >= 40:
              color = "yellow"
          elif percent >= 20:
              color = "red"
          return color
function_tokens: def _get_bar_color_code ( self , percent ) : color = "grey" if percent == 100 : color = "green" elif percent >= 80 : color = "blue" elif percent >= 40 : color = "yellow" elif percent >= 20 : color = "red" return color