Color tool

A color picker and color mixing is in the software industry, a part of the graphical user interface with which a color can be selected interactively. In the English -speaking world the name or color color picker tool is common and widespread in the German Web.

:

1: light / dark / color saturation field selection for the under 9 selected hue; the circle marks the currently selected color 2: color pattern storage spaces 3: color pattern of the one highlighted color 4: Color pattern of the marked 1 color Copy the selected color in a previously labeled under 2 box: 5 6: hexadecimal value of the marked under 1 color 7: Slider to adjust the individual color components (red, green, blue, 1 = 100%) 8: slider to adjust the hue (H = English Hue ), saturation (S = Saturation ), dark stage (V = Value); for details see the HSV color space; 1 = 100% Select the root to be defined in Field 1 Color: 9

  • 3.1 documents
  • 3.2 Literature
  • 3.3 External links

Forms of color pickers

Color selection dialog

All image editing programs include color picker in From dialog boxes to select about the color of the painting tool.

The user is for either color palettes with a choice of preset colors or " variable " color picker (an example can be seen in the picture on the right ) are displayed. When selecting a color can often choose between different color spaces. Color Picker often use the HSV color space, as can be found very easily with it the desired color. Sometimes, in addition, the RGB values ​​are specified in their hexadecimal notation, which finds application, for example, in the HTML source code of web pages (see web color ).

  • Examples of variable color selection dialog boxes

A GTK Color Picker

A Qt Color Picker

Pipette

The pipette is a special form of a color selector that allows the reading out of the color reference to any screen position. This enables a particularly fast transmission of color in other applications. Thus, a web designer to read the colors of the custom logos directly from its web site and use them in the design of the website, without having to download the image and open it in a graphics program need.

While a desktop program downloaded and may have to be installed, make an online color picker color work directly in the browser. Modern web technology allows now the implementation of color pickers that are similar convenient and feature- rich as desktop programs. However, the pipette can be used in an online color picker in principle not be implemented because the security restrictions of the browser do not allow this.

Mathematics

Of the pixel of a typical color monitor is composed of a red, green and blue sub-pixels. The native (ie, computer- own ) color space for the calculation and presentation of the colors is therefore RGB. On a modern computer, the display has a color palette with 24 bit color depth. These 24 bits allow 2 ^ 24 bit combinations, so 16,777,216 colors can be coded. The native color table is constructed according to the RGB color space, so that a color number can be calculated using the formula of additive color mixing:

, While the channels of the RGB color space are on the intensity or luminance of the three sub-pixels is set.

For each channel is 1 byte is available, so that the intensity in 256 steps, that can be specified with numbers from 0 to 255. The primary colors have the numbers for red, for blue and green. The border colors have the numbers for black and for white, ie all sub-pixels are lit in full force and mingle in the human eye to white. Shades of gray are obtained when all the sub-pixel light with the same intensity. Medium gray thus has the number.

By the three channels, each with 256 levels of intensity to 256 ^ 3 possible combinations and thus also 16,777,216 possible combinations:

Modern operating systems use 32 bits for illustration. Here, an additional byte for the alpha channel is used over the transparency of the pixel is determined. The alpha channel does not increase the color space, but allows various graphical effects like realistic shadows under program icons and windows, and anti-aliasing.

The determination of the color in the RGB space is considered to be non-intuitive, so that in most cases the determination of the color offered through alternative color spaces as support in color pickers. So the color, for example, in the HSV color space by color (hue ), saturation ( saturation ) and brightness (Value) are described. The saturation determines the proximity to gray and brightness close to white or black. Hue is usually modeled as a circle, at the beginning and ending with red primary colors at an interval of 120 ° are distributed Green is 120 °, blue is 240 °. Through the course from red to green between 0 ° and 120 ° yellow is in the middle at 60 °. Such a course is a cleaner for the people array of shades than the native RGB table. Through the conversion can arise and rounding errors, so that a more intuitive color space can not always be uniquely mapped to RGB.

Not every monitor can display all colors. Also, there are monitors that stretch the color space and thus can display more colors. In this case, a conversion takes place directly on the monitor. The gamut determines the range of the color space can be covered by a display or recording device.

Appendix

Documents

326691
de