Use particle color to shade object

Hello everyone, I need your help for a shading issue. I am using a particle system on a plane, every particle has a color based on the plane material. But I don’t know how I can apply each particle color on the objects’ instance…

Setup:
A Plane with a particle system using hair, a material with a texture, and the hair length driven by the same texture.
A cube with a material which uses particle info node.

Here is how it looks only with the hair:



Here is what it looks when I set an object in the particle system render tab, and I use the particle location as a color:


So what I would like to get is to use the particle color instead. Even if it’s only doable via python.

Also, It would be nice if I could use a particle instance modifier instead of the particle system render. Like this, I could create objects along hair normal and size, but unfortunately, I didn’t get to use particle info node with this setup…


The blender file: https://framadrop.org/r/6xb43cpEBc#PuYj2fGUqzuR4rcKDfgUf9+abI+UX0f+8zdm9rnhpws=

Maybe I should move this post to the Materials topic ?