I am making a powershell report that generates a table presently the top part of the table is blue and font color is black , the body of the table is “whitesmoke”
$color = 'Blue'
$tableColor = "whitesmoke"
# HTML Style Definition
$REPORT = ""
$REPORT = ""
$REPORT = ""
$REPORT = $REPORT + "TABLE{border-width:2px;border-style: solid;border-color: #C0C0C0 ;border-collapse: collapse;width: 100%}"
$REPORT = $REPORT + "TH{border-width: 2px;padding: 0px;border-style: solid;border-color: #C0C0C0 ;text-align: left}"
$REPORT = $REPORT + "TD{border-width: 2px;padding: 0px;border-style: solid;border-color: #C0C0C0 ;text-align: left}"
$REPORT = $REPORT + "TD{border-width: 2px;padding: 0px;border-style: solid;border-color: #C0C0C0 ;text-align: left}"
$REPORT = $REPORT + "H1{font-family:Calibri;}"
$REPORT = $REPORT + "H2{font-family:Calibri;}"
$REPORT = $REPORT + "Body{font-family:Calibri;}"
$REPORT = $REPORT + ""
# Title
$REPORT = $REPORT + "MY SQL REPORT : $($filedate)"
#Reboot
$REPORT = $REPORT + "TH{background-color:$($color)}TR{background-color:$($tableColor)}"
$REPORT = $REPORT + ($QUERY | ConvertTo-HTML -Fragment ) + " "
$REPORT = $REPORT + ""
I would like the font to be White does any one know how to adjust this so the font is white ?