How to change the background color of a list to red with JSON?
This is what I have:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",
"additionalRowClass": "=if(@rowIndex % 2 == 0,'ms-bgColor-communicationTint40 ms-bgColor-communicationTint30--hover','ms-bgColor-white')"
}
But I need also the background color of the list to red. How can I do that?