It looks at the lightness parameter (geek note: that's 'L' in 'HSL') of the original pixels and sets the same lightness for the pixels of the new color. To preserve tints, shadows, and gradients in the output PNG, you can activate the 'Preserve Color Shades' option. If the similar color match option is set to a value that's greater than 0%, then not only the indicated color is replaced, but also its shades and tones. All pixels of the selected color are immediately replaced with the new color and you can see the effect in the output preview field. The color for the replacement can be specified in the options as a color name, color code, or rgb(r,g,b) function, or you can select it directly from the input image by clicking on a color pixel in the input PNG. For example, you can match 10% of possible green colors, which include sea green, jungle green, and forest green.
For example, you can quickly swap red with blue, or yellow with white. This browser-based utility replaces any color in a PNG (Portable Network Graphics) picture with a new color.