SimilarThe Similar command works with selections and allows you to include pixels throughout the image, not just adjacent ones, falling within the tolerance range.
What few people know is that you can actually set this tolerance range and it’s not in the most obvious place, because it surprisingly the Magic Wand tolerance settings that is being used for that.