If you use the attribute named “color” for your instances, it will replace the regular “vertex color” attribute. What you can do is name your instance color something else, so that you can have both the vertex color and instance color attributes:
https://playground.babylonjs.com/#HQ4P5G#2
Use the setAsAttribute
method of the input block to transform this input to an attribute.