Replace color

In some drawing programs that I have tried there is a very interesting option which is to replace the color.

This option saves a lot of time.

imagenimagen

I know that in Krita it can be achieved a certain way with the similar colour selection tool and a blend mode on another layer, but the idea is to keep it as simple as clicking “edit → replace color”.

I know that this in terms of coding is not simple and that there are other things that have priority but I wanted to make the suggestion, since it would be a good option to have in Krita.

3 Likes

that is one Pigment.o features. but it has some restrictions. it does a layer alpha lock and fill instantly. so if the color is isolated it works better. after using change layer or tap it again to release the layer.

quick_fill

5 Likes

Oh great! :smiley: , as always you create very good plugins.

P.S: I tried pigment.o it works very well for this task, unfortunately the plugin is a bit heavy for my computer (I use windows).

1 Like

you can simply press ‘ctrl+u’ and change hue/stauration…

1 Like

I think the problem with this solution is that it’s essentially trial-and-error while @EyeOdin shows a solution that actually intuitively displays the range of colors to choose from on a color selector.

1 Like

In fact, I use “ctrl + u” a lot, but what happens if I want a specific color? It would be a bit tedious to be adjusting until I reach a similar tone/color.

That’s why I commented that it can be achieved in several ways, but ideally there is a function that simplifies things.

Try going to settings (lower right button) > performance and activate “release” so it only applies after you release the button.
With release it will not spam fill as you choose the color and instead will apply only once upon lmb release.

The “equalize HSV” in GMIC has certain effects, but its interaction is not friendly.

I hope to have a specific interface that can directly absorb colors and directly select another color

There is this plugin but i don’t know if it’s working with krita 5

It looks like it’s used for pixel art. If pixel replacement is carried out for ordinary works of art, the effect should be very ba…

Sorry don’t really know what you meant to say with “very ba…”

Indeed the original intention of this plugin is pixel art though i thought it would be worth mentioning it here. Either for future reference or as a possible alternative.

I honestly haven’t tested it but maybe it works for works that aren’t pixel art. In any case i feel like it’s worth trying.

This is the problem of translation software. I mean: if it is used for pixel art, its logic should be to accurately replace all pixels. For general paintings, we should choose a range, and then replace the hue, and may also consider luminosity and so on.

Ah ok now i understand, indeed if you have painterly look it will not work but might still work for flat colors

Sadly this mode makes color history not work.

I think I might have fixed the bug with release and history.

1 Like

I confirm the bug was fixed

1 Like