Vector object color

I know we can’t get rgb of pixel but shouldn’t we be able to get the color of a vector object