Next Previous Table of Contents


Colors and Palettes

Selecting colors

Since version 0.4 the color selection mechanism has been changed. Here you see a screenshot of the color selection frame (reduced to 75 %):

[Screenshot]

There are two color buttons: the foreground button (1) and the background button (3). The foreground color is the actual drawing color; the background color is currently only used by the gradient tool (it my also be used for intermediate storing of colors without modifying the palette). The switch button (2) is used to exchange foreground and background color.

The color can be set in four ways:

  1. One can enter a hex tripled (e.g. #ff0000 for pure red) in the entry field (4).
  2. Pressing the button (5) allows one to pick the color of a pixel in the drawing canvas.
  3. The sliders (6) are used to mix the RGB components of the color.
  4. One may pick a color by pressing one of the palette buttons.

The color which is affected by the selection is called the active color; the corresponding button is slightly highlighted. So, if you want to change the background color, you have to press the background button first and then selecting the color e.g. by pressing a palette button.

Palettes

Since version 0.4 the palette can be customized; one may also select between several palettes.. Pressing <mouse-3> over a palette button will popup the corresponding menu (8). You may then store the palette to a file (use the ``Save as'' entry in the ``Palettes...'' menu); this palette will then appear in this menu. Palettes are stored in the directory $HOME/.babygimp/palettes (with extension .pal). If the file $HOME/.babygimp/palettes/default.pal exists, Babygimp will load this palette on startup, otherwise it will use the builtin default.


Next Previous Table of Contents