The tutorial above is no help. The tutorial says you can replace Color 1 with Color 2 using the eraser tool, and proceeds to describe how to do that. Except that doesn't work, which is what the original complaint was. (Sometimes, I've found, it will work
- but only if color 1 is black. If it is any other color at all, you're out of luck, and even the black sometimes fails to work.)
edit - Here's some more useful info - why it happens, and a workaround.
First, I found out from another forum that the "replace color with eraser" method does work (and with other colors besides black as #1) when you're working on a new document, but once you've saved a piece of paint art and re-opened it, that method fails.
Users of the other forum postulate that either the document is being saved with a color that is no longer the one in the pallet (which you would be able to work around using the eye dropper tool to pick Color 1), or you've saved the document into a lossy compression
format (such as .jpg). However, the first is out, because the eye dropper trick doesn't work, and the second isn't correct, because this still happens when you've saved to .bmp format, which isn't compressed at all.
So that makes the issue appear to be a glitch with the way tools operate on saved documents, not an intentional change in the program, in which case at some point the MS Paint designers will realize it's happening, and after a subsequent Windows Update,
the issue will simply disappear.
Finally, a workaround: Thinking it's simply a glitch that only affects saved documents made me think that the image itself should still be good for color replacement via the eraser - it just needs to be moved to a new document. So I copied the image to
windows clipboard, opened a new (blank) instance of Paint, pasted in the image, and found that I could use the eraser color replace method perfectly, just like in old Windows XP's MS Paint. That worked right up until I saved it. So I ended up keeping 2 instances
of Paint running the rest of my work session. A new unsaved one for working, and another into which to paste the image from that, in order to save my work.
A bit of a pain, but way better than not being able to use color replacement at all.
PS I found out later that the pencil tool appears to be affected by this issue, too. In an unsaved document, you can right-click to draw with Color 2. However, once the picture has been saved, the right-click option becomes disabled. Once again, a
workaround would be to do your work in a new (unsaved) window, keeping a 2nd window open for pasting into & saving.