Assigning different physical groups to different color in gmsh and mark them as different material in fenics

Consider How to define different materials / importet 3D geometry (gmsh) - #2 by dokken