Enhancing the electromagnetic performance of Co through the phase-controlled synthesis of hexagonal and cubic Co nanocrystals grown on graphene.