Many modern desktop 3D printers include the ability to print in multiple colors. However, this typically only works with a few colors at a time, and the more colors you can use, the higher the machine ...
Your 3D printer’s purge defaults protect print quality, but they can waste filament unless you tune them for each color swap.