Two colors PNG
Nothing found — try another word.
Recolors the image into two chosen colors by luminance threshold.
Nothing found — try another word.
Nothing found — try another word.
Nothing found — try another word.
Two colors reduces a picture to exactly two shades you pick: every pixel's brightness is measured with the standard BT.601 luminance weights and compared against the threshold — brighter pixels take the From color, darker ones take the To color. The cut is hard, with no blending along the edge, which is what gives the crisp look of a poster, a logo silhouette or a duotone. It runs in your browser, and the alpha channel is preserved.
From is the light color and To the dark one - that is the order the tool reads them in. With the defaults it simply reproduces black and white; swap the two and the picture turns into a photographic negative.
No, and that is the character of the tool. A pixel is either one color or the other with nothing in between, so diagonal edges come out as stair steps. Posterizing instead keeps whatever anti-aliasing was already in the source.
The alpha channel is copied through unchanged, so a transparent background stays transparent even though the color values behind it are recolored.
Not from this page. For a longer ramp, build one in the tint tool and posterize afterwards, or use the custom palette tool to map the picture onto a list of exact colors instead.