I've got a scene with a landscape built up of blocks, this is actually made up by instancing a lot of objects onto a mesh.
What I'd like to do is use an image to give each block a specific color without having to apply/separate everything and create and apply materials for each colour.
The image will be like an aerial view with rivers, roads, grass colours, and the blocks will be coloured so together, they look like the image
eg, using this texture:
would be used to give the blocks colours:

