1 "up" quark + 1 "down" quark + 1 "strange" quark = 1 baryon
Quarks are the components of subatomic particles, yes, but that is not a fitting analogy to the trinity at all. Trinitarians, I believe, do not teach that God is made up of three components: Father, Son, and the Holy Ghost. How can God be a component of himself? If he is, then it doesn't matter anyway, because a quark is not a baryon.
This analogy is just as bad: 1 white + 1 yolk + 1 shell = 1 egg
A yolk is not an egg.