Improved wallpaper color detection