Graph Color in Obsidian Publish appears sometimes

With the Help of the Communitiy I was able to add this code to my publish.css file:

/* Set node colors in graph view */
.graph-view.color-fill {
  color: #a8c373;
}

When I open my published page, the graphic is sometimes colored, sometimes not. If this is not the case, I can refresh the page several times and then the color changes.

What could be the problem here? I have the problem with different Browser (Brave & Edge)…