Failing marijuana drug tests

Will you still lose your job in a state like colorado for a positive THC test result? Even though it is legal for recreational use?