Magnetic potential energy depends on [mark all correct answers]

A. color of the magnet
B. distance
C. orientation of the magnetic field
D. shape of the magnet