# 4.4. Colors

This section provides access to five different color settings, described below. Each of these settings may be changed by clicking on its corresponding button. These are special wide buttons that are the color of the current setting. Clicking on one of the buttons calls a special color dialog box used to change the setting.

The color dialog box provides a convenient and graphical way to select a color. In the upper left of the box is a rectangular display of a spectrum of colors. To the immediate right of this, is vertical bar displaying a range of intensity from the most dark at the bottom to the most light at the top. The user may select and adjust a color by clicking in these two boxes. Clicking in the rectangular display selects a particular mix of red, green, and blue colors and in the vertical bar selects a level of intensity (value). The various color attributes are displayed in numerical form in small text boxes located directly below the spectral rectangle and the user can see them change as the color is adjusted. These attributes include the mix of the basic color components (red, green, and blue) as well as hue and saturation levels. Alternatively the user can enter figures directly in these boxes. There is also a square at the bottom center of the dialog box which displays the color which is under consideration at any time. To the right of this display is another text box labeled 'HTML:' This shows the user the color code that would be used to specify the particular displayed color in HTML code which is widely used for web pages.

In addition to the above the color dialog allows the capture of any color currently displayed on the desktop or in another program. Clicking on the button with the dropper icon (located on the right side of the dialog box,) changes the shape of the mouse cursor to a set of crosshairs. Clicking again will pick up the color attributes of whatever color is displayed under the cross hairs.

Furthermore the user has the option of adding any color to a personal palette of 'Custom Colors' by clicking on the wide button labeled 'Add to Custom Colors' (which is located directly above the display square.) This adds the current color to the custom color palette. This palette and any other available palettes can be displayed using the drop down selection box located directly above the palette display at the top right of the dialog box. Besides the custom colors, the user can access a number of pre-prepared palettes.

Background

  Here the user can specify a color for the general background of KWrite.

Text Background

  This is used to set a particular color to display in the background of those areas of the document containing text.

Selected

  This allows the user to select a color to be used for indicating selected (or highlighted) portions of the document.

Found

  This specifies the preferred color with which to mark text encountered as the result of a find operation.

Selected + Found

  This sets the color for text that has not only been found as in the previous entry above but that has also been selected.