Replicating Player Color

How exactly? I know I have to use custom events but I think Im doing it wrong.