3. Dialogrutor relaterade till bildinnehåll
| Kapitel 15. Dialoger |

## 3. Dialogrutor relaterade till bildinnehåll

### 3.1. FG/BG Color Dialog

Figur 15.26. The FG/BG Color dialog

The Color dialog lets you manage and pick up new colors. You can use it into five different modes: GIMP, CMYK, Triangle, Watercolor and Scales. It has an interesting eyedropper to pick up a color anywhere on your screen.

The dialog called from the FG/BG area in the toolbox is a bit different compared to the one called from the image menu:

- the sliders are permanently visible instead of selected from the scale menu,

- twelve buttons show the last used colors. You may choose a color by clicking on one of these buttons or add the current FG or BG color to this history list.

This dialog works either on the foreground or the background color.

#### 3.1.1. Activating the Dialog

The ”Colors” dialog is a dockable dialog; see the section Avsnitt 2.3, ”Dialoger och dockning” for help on manipulating it.

You can access it:

- from an image menu: Windows → Dockable Dialogs → Colors;

- from the Tab menu in any dockable dialog by clicking on and selecting Add Tab → Colors,

- from the toolbox: click on the current Foreground or Background color.

In the Windows menu, there is a list of detached windows which exists only if at least one dialog remains open. In this case, you can raise the ”Colors” dialog from the image-menu: Windows → Colors.

#### 3.1.2. Using the ”FG/BG color” dialog

GIMP Selector

  With the GIMP Color Selector, you select a color by clicking on a one-dimensional strip located at the right edge, and then in a two-dimensional area located on the left. The one-dimensional strip can encode any of the color parameters H, S, V, R, G, or B, as determined by which of the adjoining buttons is pressed. The two-dimensional area then encodes the two complementary color parameters.

CMYK

  Figur 15.27. CMYK

  You get to this selector by clicking on the printer icon. The CMYK view gives you the possibility to manage colors from the CMYK color model.

Triangel

  Figur 15.28. The triangle selector

  This selector uses the HSV color model. Click in the chromatic circle and drag the mouse pointer to select the Hue. Click-and-drag in the triangle to vary intuitively Saturation (vertically) and Value (horizontally).

Watercolor

  Figur 15.29. Watercolor Color Selector

  This color selector is symbolized by a brush. The function mode of this selector is a little different from that of models presented so far. The principle consists in changing the current foreground color by clicking in the rectangular palette. If the current foreground color is for example white, then it turns to reddish by clicking in the red color area. Repeated clicking strengthens the effect. With the slider, which is right apart from the color palette, you can set the color quantity per every mouse click. The higher the sliding control is, the more color is taken up per click.

Palett

  Figur 15.30. Palette Color Selector

  This color selector brings up a list of the colors of the current palette in the Palettes dialog . You can set GIMP's foreground or background colors by clicking on colors in the colors display. You can also use the arrow keys to move within the list of colors.

Scales

  Figur 15.31. The Scales selector

  This selector displays a global view of R, G, B channels and H, S, V values, placed in sliders.

Color picker

  The color picker has a completely different behavior, than the color picker tool. Instead of picking the colors from the active image, you're able to pick colors from the entire screen.

  The downside is that you get colors after they got processed by the full system color stack, in particular color management. It means that the resulting color values may end up different from ones returned by the color picker tool when picking over the canvas. It is up to you to make an informed choice of which color picker to use.

HTML Notation

  See HTML notation. You can also use the CSS keywords; enter the first letter of a color to get a list of colors with their keyword :

  Figur 15.32. CSS keywords example

  Right-clicking in the HTML Notation text box opens a context menu that allows you to edit your notation, particularly to paste a complex notation you have copied elsewhere. This menu leads to various Input Methods that allow you to use foreign characters, and to the possibility to Insert Unicode Control Characters. This is a vast field, beyond this help. Please see [UNICODE].

  Figur 15.33. The HTML Notation context menu

Right up you find a symbol, consisting of two arrows, with which you can exchange the foreground and background color. At the bottom left of the dialog, just below the foreground color block, you find a switching surface with two small, one black and the other white, partially overlapping squares. If you click on these, the front and background color are put back to black and white respectively.

2.7. Dialogrutan Ångringshistorik |  | 3.2. Dialogrutan Penslar

Report a bug in GIMP Rapportera ett dokumentationsfel