You can change the cell background using OnBeforeCellRender method:
protected override void OnBeforeCellRender(BeforeCellRenderArgs e)
{
if (e.Start.Hour > 5 && e.ResourceId == "5") {
e.BackgroundColor = "#ffffff";
}
}
or
protected override void OnBeforeCellRender(BeforeCellRenderArgs e)
{
if (e.Start.Hour > 5 && e.ResourceId == "5") {
e.CssClass = "customclass";
}
}