5.10. Zmanjšaj nasičenost
| 5. Orodja barv |

### 5.10. Zmanjšaj nasičenost

By using the Desaturate command, you can convert all of the colors on the active layer to corresponding shades of gray. This differs from converting the image to grayscale in two respects. First, it only operates on the active layer and second, the colors on the layer are still RGB values with three components. This means that you can paint on the layer, or individual parts of it, using color at a later time.

| Opomba
This command only works on layers of RGB images. If the image is in Grayscale or Indexed mode, it can do nothing.

#### 5.10.1. Aktiviranje ukaza

You can get to this tools in several ways:

- In the image menu through Tools → Color Tools → Desaturate or Colors → Desaturate,

- by clicking on the tool icon in Toolbox, if this tool has been installed there.For this, please refer to Razdelek 1.7, “Orodjarna”.

#### 5.10.2. Možnosti

Slika 14.175. The “Desaturate” option dialog

Three options are available:

Choose shade of gray based on

Svetlost

  The graylevel will be calculated as

  Lightness = ½ × (max(R,G,B) + min(R,G,B))
Jakost osvetlitve

  The graylevel will be calculated as

  Luminosity = 0.21 × R + 0.72 × G + 0.07 × B
Average

  The graylevel will be calculated as

  Average Brightness = (R + G + B) ÷ 3

Slika 14.176. Comparing the three options

Izvirnik

“Lightness” applied

“Luminosity” applied.

“Average” applied.

5.9. Posteriziraj |  | 6. Drugo

Report an error in Bugzilla