colour threshold working wnidows