Individually colored static mesh instances

Sure, here is the material:

But note that the first script I have does the changes with no problem:
image

And nothing is marked dirty here.