I'm not licensed in CO, but unless it's some weirdness in the Colorado landlord/tenant law, I don't see how the landlord could legitimately keep your deposit if you aren't technically in breach of the contract. And if you're month-to-month and give your 30 days' notice, you're not in breach.