Sounds like you didn't mix it thoroughly. Not a pigment problem. I can't vouch for epoxy based pigments ,but they work fine in gel-coat as long as you play by the rules.
"I said, now, I said ,pay attention boy!"
The cure for anything is salt water - sweat, tears, or the sea Isak Dinesen If a man is to be obsessed by something.... I suppose a boat is as good as anything... perhaps a bit better than most. E. B. White