JSON2html table rendered now trying to change text value color(text/background) of a boolean cell

I am using JSON2html to parse data into a table.one row/key is a boolean value which is either true or false. For some reason, nothing I've tried has worked. I am embedding my code.I am looking to make the text turn green if false and red if true. Heres' is my JSON file/data: file_content =

{
"CorrelationId": "awsnightlyendtoend_20190901T2319",
"ValidationType": "validate_adwactivityfact",
"Success": true,
"OutputPath": [
"s3://-validation/awsnightlyendtoend_/validate_adwactivityfact/requires-replay.csv",
"s3://-data-validation/awsnightlyendtoend_/validate_adwactivityfact/require-investigation.csv"],
"ValidationDetail": "Comparison Passed: matched=1131"
}
data_to_be_sent = json.loads(file_content)