Known as "the last resort" stain remover, because it can remove color if you're not careful here is THE recipe. I used it alot when mine were little and the yucky baby formula throw up stains would go away.
In a sink mix:
1 gallon of very hot water (like almost boiling but remember your hands will have to touch it)
1 cup of powder dishwasher detergent
1 cup of regular bleach
and I always used a quarter cup of regular laundry powder too.
mix it and dip in the stained part of the clothing for just a few minutes and check it out. If it is still there you can soak it up to fifteen minutes. Then wash as usual.
I used to get the sink ready and the washer, and do baby shirt after baby shirt and just toss into the washer. Colored and white shirts. It worked great but one time the phone rang and I left one of my sun-dresses that had baby vomit on it in the sink and when I came back much later, it was white instead of blue.