Coloring polygon

I have kml file with 32 or so polygons. I have converted to gmt and the contents of the file show each polygon separated by “>” followed by a polygon name. I would like to colour each individual polygon in a different colour. What is the easiest way to do this using GMT 6?


Probably need to make a categorical CPT with text keys:

pollyname1 red
polyname2 135/55/10

and then instead a -Z infront of those names in your segment headers.