The strong nuclear force or strong interaction is a fundamental force of nature which affects only quarks, antiquarks, and gluons. This force is responsible for binding quarks together to form hadrons (including protons and neutrons), and the residual effects also bind these neutrons and protons together in the nucleus of the atom. See particle physics for an overview of the theory.
According to quantum chromodynamics, the strong interaction acts between two quarks by exchanging particles called gluons (symbol g). Every quark carries color charge which comes in three types: "red", "green" and "blue". These are just names and not related to ordinary colors in any way. Antiquarks are either "anti-red", "anti-green" or "anti-blue". Like colors repel, unlike colors attract.
The attraction between a color and its anti-color is especially strong. As pairs of quarks interact, they constantly change their color, but in such a way that the total color charge is conserved. If say a red quark is attracted to a green quark inside a baryon, a gluon carrying anti-green and red color is emitted from the red quark and absorbed by the green quark; as a result the first quark switches to green and the second to red (total color charge remains green + red). If a blue quark and a anti-blue antiquark interact inside a meson, a gluon carrying for example anti-red and blue could be emitted by the blue quark and absorbed by the anti-blue one; as a result the blue quark turns red and the anti-blue antiquark turns anti-red (total color charge remains 0). Two green quarks repel each other by exchanging a gluon carrying green and anti-green color; the quarks remain green.
Unlike the other fundamental forces, the strong interaction also acts on the strong exchange particles themselves, since gluons also carry color charge. This leads to a very limited range of the strong interaction (not much farther than the hadron's radius) even though the gluon does not have mass. It also has the strange effect that the force gets stronger as the distance between the quarks increases. This effect prevents free quarks from being observed. As the distance between two quarks increases, the amount of energy in the force between them increases. If the force becomes strong enough, there is enough energy to create new quarks. The reason of this is that one only sees quarks in pairs or triplets and never individually.