Take object color of underlying Emitter What to setup if the emitter should take the objects based on the color where it comes out?

Sample: Icosphere should take the color of where it emits on cube.



There is one solution for images. How to setup this with color ramp?
You can do it in a similar way as described in the linked answer.

Just copy your material node setup from the cube to the icosphere, change the coordinate type from Generated to Object and choose the cube object from the list.