Instanced Static Mesh per instance color?

Per Instance Custom Data Node but it cant be use on pixel shader input

This is the working material