Panel: Fill and Replace
 

For the Mask Modes Replace, Fill and Color Delta, a Tolerance value can be defined.

This parameter controls the threshold value, that defines how different a texture's pixel to the clicked pixel is allowed to be without being excluded from the set of pixels, which is covered by the mask.

The Invert Selection switch will cause similar colors to be excluded and different colors to be included.

 

Console/Script Switches

Name Range Description
color tolerance 0-255 tolerance when comparing colors
invert selection 0/1 includes outer colors and excludes the others