You can set different background color for each column header by customizing the GridColumn.HeaderTemplate in SfDataGrid.
Refer the below code in which an UILabel is loaded inside the header template of the columns and its background color is updated based on requirement.
For Auto generated columns:
For Manually generated columns:
On executing the above code the below output will be obtained.
This page will automatically be redirected to the sign-in page in 10 seconds.