Refactor color option variable.