Comprehensive reference
Select > Grow
Expand the selection to include adjacent pixels within tolerance
BFS flood fill