I got that solution from here: https://discourse.paraview.org/t/how-to-color-unstructured-grid-vtu/10140/2