<!DOCTYPE html>
<html>
<body>
<table border=1 cellpadding=4>
{% for row in rows %}
<tr>
    {% for c in row %}
    <td bgcolor="{{color[c]}}">{{c}}</td>
    {% endfor %}
</tr>
{% endfor %}
</table>
</body>
</html>
