Modern browsers and computers today rarely have problems displaying the correct colours (see https://websafecolors.info/learn for some info on that).
It seems like it might be the displays themselves that make colours appear differently. This could be due to monitor brightness, contrast and blue-light-level settings, and even due to the monitor's technology itself such as LED and panel type. There is no way to enforce consistent settings across displays, or to even read their settings and adjust the website.
I would recommend using Inspect Element and looking at the hex code of the colours on each platform. If they are identical, then you know it's the displays. The solution will be to use colours with more contrast to each other, so that they have a greater chance of standing out on all screens. Alternatively, try out thicker borders, or even borderless padded tables! Most users have high-definition screens which opens up a lot of possibility for table design, which typically uses pixel-thick text and formatting.