Do proper color detection