Abstract
Dirac equation in a chromomagnetic field is solved for colored particle moving in limited space volume. Quantized energy levels and corresponding wave functions are found for a backgrounds both directed along third axes and having spherical symmetry. It was shown interrelation with the case of motion in infinite space volume.