Highlight colors that are not in a given color palete

I’m currently working on some pixel art, sprites for a game to be precise, and I’m limited to only 16 colors. I have the colors in a palette and would like to highlight or select the parts of the canvas that are in colors that are not part of the palette, to find mistakes I made. I already found a few that happened because I had blending on the color sampler and things like that. They are usually so subtle that they are hard to spot with bare eye. Soft proofing is unfortunately limited to color spaces and does not work with palettes (indexed colors) but perhaps there’s another way I don’t know of?

https://docs.krita.org/en/reference_manual/tools/similar_select.html

That might help :thinking:

1 Like

I don’t know, it pretty much does the exact opposite. Perhaps I can select all colors from my palette and than reverse it. A bit cumbersome but …

Yeah… but it might be better than nothing :confused: sorry…

For my purposes, and since I only have 16 colors, it worked. Kept adding to the selection for each correct one, than inverted and got one with all the non matching selected so I was able to correct them.

1 Like

All’s well that ends well then :smile:

Hi Takiro, I have the same problems doing pixel art. Recently I had to fix the same issue and I ended up doing the following for each of the colours in the palette:

  1. Select the colour and similar colours using the similar colour selection tool with a small threshold.
  2. Use the Fill tool on the current selection to re-colour all the pixels to the Palette colour.

As I had a larger palette I checked the number of current colours by generating a png and opening in Aseprite or Image Magick.

Make sure you use Nearest Neighbour as the filter when you get the option (e.g. in the Transform tool).

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.