My question involves civil rights in the State of: Colorado

This is a quick question. I was wondering if in my state, if I am part of a police encounter and detained or questioned, if I am allowed to film the encounter or record audio with a personal camera or phone. If so, am I required to tell the police officer I am recording/filming the encounter?

I would just feel more comfortable being able to at least sound record my encounter with police.