The strong force is mediated by the exchange of particles called gluons, and its strength is determined by the colour charge of the quarks. Protons and neutrons are composed of three quarks each, and the colour charges of these quarks combine to give the proton a net colour charge of zero. This means that the strong force between the quarks in a proton is balanced, and the proton is stable.