In practice I am in the following situation: I would like to create a table where in a given column there are numerical values. Some of these values are equal to 0. Some cells with 0 are represented with the background color orange, others with the color green (for different needs).

With html of course I solve with the "style tag" that I insert in the "td tag"

can betd style="background-color: #ff8100"><?php echo $data?>

ortd style="background-color: #087c22"><?php echo $data?></td>

When I export in excel format, I would like to be able to read the background color code I have set and replicate it in the excel file.