Mosaicus
Contents›Painting›Replace color

Replace color

The Replace color tool (R) changes one color into another everywhere at once. Click a pixel, and every pixel of that color becomes the primary color. It is the quick way to try a different color for a sky, a shirt or a background without repainting it.

Using it

  • Click a pixel: every pixel in the picture with that pixel's color becomes the primary color.
  • Right-click: they become the secondary color instead.
  • Alt+click picks up a color, as the Eyedropper does (left button the primary, right button the secondary), without leaving the tool.

The colors are the ones the screen shows: a converted pixel and a hand-painted pixel of the same color are replaced alike. Every replaced pixel becomes a hand edit, so it stays as it is when you change the conversion's settings later.

The whole replacement is one undo step, named after the two colors (for example Replace blue with light blue).

Only part of the picture

With a selection, only the pixels inside it change.

Cell limits

Most C64 formats allow only a few colors in each cell, so a new color can be one too many for a cell. The tool's only option, Cells, says what happens then, as for every painting tool:

  • Recolor cells (the default): each cell keeps the colors that lose the least, and every pixel takes the nearest color its cell can have.
  • Keep cell colors: a pixel that would give its cell one color too many is left as it was. When many pixels are left out, a message offers to recolor those cells or keep what fits.
  • Allow clashes: everything changes; cells with too many colors are outlined in red and recolored when you export.

Cell limits and clashes explains the three choices in full.

  • Paint colors: choosing the primary and secondary colors.
  • Fill: filling one area of a color rather than all of it.