Read these two posts and see if one or both are what you’re looking for?
https://forum.inaturalist.org/t/color-code-the-pins-for-subspecies-when-looking-at-maps-of-species/6580/9
https://forum.inaturalist.org/t/use-unique-colors-for-observation-pins-when-searching-for-multiple-species/3238/2