Picking an objects color

I don’t know of anyway to get colors from a hidden object other than object variables or the previously mentioned ideas.