PixelForge Help Open editor

Recolour areas with the Color Replace tool

Paint over a colour to replace it with the foreground colour while keeping shading, using the Color Replace tool's Mode, Sampling and Limits options.

IntermediateUpdated 2026-11-14

The Color Replace tool changes the colour of the pixels you paint over, but only where they match the colour being replaced. In its default Color mode it keeps the lightness of each pixel, so shading and texture survive.

The upper sky of a sunset landscape repainted green with the Color Replace tool, with its Mode menu highlighted
The top of the sky recoloured green: Mode Color, Limits Discontiguous, Color tolerance 90

#Replace a colour

  1. Choose Color Replace from the Brush flyout, or press B until it is selected.
  2. Set the Color well to the new colour.
  3. Set Size and Color tolerance. Tolerance (0–255) decides how different a pixel can be from the sampled colour and still be replaced.
  4. Paint over the area. Pixels that do not match stay exactly as they were.

#Options

OptionChoices
ModeColor (default) takes the hue and saturation of the foreground colour and keeps each pixel's luminosity. Hue changes only the hue, Saturation only the saturation, Luminosity only the lightness. Normal paints the flat foreground colour.
SamplingContinuous (default) samples the colour under the centre of the brush as you move. Once samples the colour where you start the stroke and keeps it. Background Swatch replaces colours that match the Background well.
LimitsContiguous (default) replaces only matching pixels connected to the centre of the brush. Discontiguous replaces every matching pixel under the brush.
OpacityBlends the replacement with the original colour. With a pen or touch screen, pressure also scales the opacity.

#Good to know

  • The tool compares pixels with the layer as it was when the stroke started, so going over the same area again within one stroke does not spread the change further.
  • Transparency is kept: the tool never changes a pixel's alpha.
  • With an active selection, only pixels inside it change.
  • To recolour a whole image or colour range at once, an adjustment is usually quicker. See Hue/Saturation and Color Balance.

This is a bounded local approximation: there is no colour management or edge-aware sampling.

Still stuck? See Troubleshooting or report a problem.