I have the Jinja2 template
<!DOCTYPE html>
<html lang="en">
<body>
<table style="width:30%">
{% for key, value in forces.get_max_allowable_force_per_edge_exceeded_or_not().items() %}
<tr>
<td>{{key}}</td>
<td>{{"{:+.2e}".format(value[0])}} * N</td>
<td>{{"I want this text in green!" if value[2] == False else "I want this text in red!"}}</td>
</tr>
{% endfor %}
</table>
</body>
</html>
in which I would like to give "I want this text in green!" the color green if value[2] == False and red otherwise.
How do I achieve this?