It also works for graphics objects. I had one colour in a file I needed in another.
Copy the object and paste into the other and the colour attributes come with it.
Use the colour on the object required and delete the pasted one, and the colour is there to use.