Better color detection