Linked Colors in Graph panel

Hi,

I have noticed that elements colors are equal for elements if amount of elements is the same in graphs.
e.g.

pxc57-3 -> yellow
ps8 -> green

But colors are absolutely different if amount of elements are not equal.

pxc57-3 -> yellow / blue
ps8 -> green / purple

Is there any way to link colors for elements on a dashboard.
“Series override” functionality can’t be used due to unknown hostnames in advance.