def html_table_line(title, text_and_color):
  """Returns a row in HTML table."""
  return '''
    <tr>
      <td class="title">{}</td>
      <td class="value {}">{}</td>
    </tr>'''.format(
        title, text_and_color.color, text_and_color.text)