Robots in actual use are painted safety yellow or orange, because they are a safety hazard. Thus we put up warnings, fences and light gates. Plus shutoff buttons everywhere and a multi step process to turn them on.
Each brand has their own colour they tend to use (unless a customer like Tesla orders something custom). Kuka usually is orange, Fanuc is yellow, ABB white, Yaskawa blue, etc.