PixelForge Help Open editor

Choose colours and use the Eyedropper

Set the foreground and background colours, swap or reset them, and pick colours from the image with the Eyedropper tool.

BeginnerUpdated 2026-11-14

PixelForge uses two colours for painting: the foreground colour, which the Brush, Pencil, Fill and most other tools paint with, and the background colour, used by gradients, pattern tiles and the Eraser on a Background layer.

The Eyedropper options with Sample size set to 5 by 5 Average, and the Color and Background wells highlighted at the bottom of the toolbar
The Color and Background wells, and the Eyedropper options

#Set the colours

The two colour wells sit at the bottom of the toolbar:

  • Color is the foreground colour.
  • Background is the background colour.

Click a well to open your browser's colour picker, then choose a colour or type a hex value. The picker's look depends on your browser and operating system.

ShortcutWhat it does
XSwap the foreground and background colours.
DReset to a black foreground and a white background.

#Pick a colour from the image

  1. Choose the Eyedropper in the Measure group of the toolbar, or press I.
  2. Click the canvas to set the foreground colour.
  3. Alt+click to set the background colour instead.

The status bar confirms the sampled colour, for example "Color sampled from image (5 × 5 average)".

#Eyedropper options

OptionWhat it does
Sample sizePoint Sample reads one pixel. 3 by 3 Average up to 101 by 101 Average average a square of pixels around the click, which avoids picking up noise or a single odd pixel.
SampleAll Layers reads the visible image. Current Layer reads only the active layer, ignoring layers above and below.

Clicking a transparent spot picks nothing and shows "No visible pixel to sample".

#Colours in other tools

  • The Gradient tool goes from the foreground colour to transparency or to the background colour.
  • The Pattern Stamp and pattern fills draw their built-in patterns in the foreground colour over the background colour.
  • Color Replace with Background Swatch sampling replaces colours that match the background colour.
  • The Brush and Pencil can vary each dab's colour with colour dynamics.

Still stuck? See Troubleshooting or report a problem.