Foreground and Background colors

Pixelmator’s Tools palette allows you to choose colors for two purposes:
Foreground color
is used to paint , fill, and stroke.
Background color
is used for gradients and better color management.

To choose colors, do one of the following:

Keyboard shortcut X

To switch foreground and background colors:

  1. Move your mouse pointer to Colors in the Tools palette.
  2. Right-click or Control ^-click with the mouse for the contextual menu, and choose Switch Colors
Keyboard shortcut D

To reset foreground and background colors:

  1. Move your mouse pointer to Colors in the Tools palette.
  2. Right-click or Control ^-click with the mouse for the contextual menu, and choose Reset Colors