Here is the link for your local laws:
https://cpw.state.co.us/Documents/WildlifeSpecies/LivingWithWildlife/NuisanceWildlife.pdf
To save you the time of reading (though easy to find) you ARE permitted to trap a fox but you must kill it. Relocating the fox requires a permit.