Coloring states different colors

Is there a way to color in different US states similar to using the pscoast -E flag to “paint” different countries various colors? Thanks

As per the coast -E option, you can select a state by the country.state syntax (e.g. US.TX for Texas).

The following command plots a US map, with Texas painted by lightred:

gmt coast -RUS -JM10c -B -W0.5p -EUS.TX+glightred -pdf map

Thank you, exactly what I was looking for.