A neutron does decay into proton, electron, and a neutrino. A positron can decay into a neutron and a positron if the conditions are favorable for such decay. (E.g. in a heavy nucleus, resulting in beta-bar decay, or in a neutron star.)
But yes, there is a difference between quarks in the baryon (protons, neutrons, ...) and in the meson (pions, rho mesons, ...) The difference is color charge. Both baryons and mesons are color "neutral", but while the color charge of meson is completely canceled, the color charge of baryons is merely balanced.
Unlike electric charges, which there are just two of, there are 6 possible color charges. There are 3 colors and 3 anti-colors. Red, green, blue, anti-red, anti-green, anti-blue. The names have nothing to do with visible spectrum, but rather with concept of color neutrality.
Every quark has a color. Every anti-quark has an anti-color. Color is a conserved quantity. So when you create a red charge, you must also create an anti-red charge. Gluons, which are carriers of strong nuclear force carry a color and an anti-color. And that's what results in color-neutrality.
Suppose a red quark emits a gluon. That gluon must carry a color, and the only available option is red. So it takes a red charge away from the gluon. It also needs an anti-color, and the two available options are anti-green or anti-blue. If it takes anti-green, green charge must also be created and deposited on the quark. It becomes green. If it takes anti-blue, quark becomes blue.
Now, what quark can absorb this gluon? Since it caries red, it can be absorbed by anti-red. In that case, the color of anti-red gluon changes to anti- of whatever the emitting gluon has become. So red-anti-red becomes blue-anti-blue or green-anti-green. The other option is to have the same color that the emitting quark. So red-blue would become blue-red and red-green would become green-red.
It is the nature of strong nuclear interaction that if the possible emitted gluons don't have anything to interact with, it will result in pair-production for the interaction to occur. So you cannot have an isolated quark. Furthermore, you cannot have a group of quarks that are not color-neutral. If you have a red quark, you must either have an anti-red to go with it or both blue and green quarks.
Particles consisting of a quark with color and quark with anti-color are called mesons. Because they contain a quark and an anti-quark they can spontaneously annihilate, sometimes, producing electrons or positrons as a byproduct.
Particles consisting of three quarks, one of each color, are called baryons. Particles consisting of three anti-colors are their anti-particles. A baryon does not contain anti-quarks. It cannot annihilate spontaneously without violating color conservation. It must meet a particle containing 3 anti-colors, which would have to be an anti-particle baryon. It does not have to be its own anti-particle, however. A neutron will annihilate with an anti-proton just fine, resulting in production of an electron. This process is a little bit more complicated, however, since it involves weak interactions.