# HSX¶

Krita has four different HSX coordinate systems. The difference between them is how they handle tone.

## HSI¶

HSI is a color coordinate system, using Hue, Saturation and Intensity to categorize a color. Hue is roughly the wavelength, whether the color is red, yellow, green, cyan, blue or purple. It is measure in 360°, with 0 being red. Saturation is the measurement of how close a color is to gray. Intensity, in this case is the tone of the color. What makes intensity special is that it recognizes yellow (rgb:1,1,0) having a higher combined rgb value than blue (rgb:0,0,1). This is a non-linear tone dimension, which means it’s gamma-corrected.

## HSL¶

HSL is also a color coordinate system. It describes colors in Hue, Saturation and Lightness. Lightness specifically puts both yellow (rgb:1,1,0), blue (rgb:0,0,1) and middle gray (rgb:0.5,0.5,0.5) at the same lightness (0.5).

## HSV¶

HSV, occasionally called HSB, is a color coordinate system. It measures colors in Hue, Saturation, and Value (also called Brightness). Value or Brightness specifically refers to strength at which the pixel-lights on your monitor have to shine. It sets Yellow (rgb:1,1,0), Blue (rgb:0,0,1) and White (rgb:1,1,0) at the same Value (100%).

## HSY¶

HSY is a color coordinate system. It categorizes colors in Hue, Saturation and Luminosity. Well, not really, it uses Luma instead of true luminosity, the difference being that Luminosity is linear while Luma is gamma-corrected and just weights the rgb components. Luma is based on scientific studies of how much light a color reflects in real-life. While like intensity it acknowledges that yellow (rgb:1,1,0) is lighter than blue (rgb:0,0,1), it also acknowledges that yellow (rgb:1,1,0) is lighter than cyan (rgb:0,1,1), based on these studies.

## HSX Blending Modes¶

### Color, HSV, HSI, HSL, HSY¶

This takes the Luminosity/Value/Intensity/Lightness of the colors on the lower layer, and combines them with the Saturation and Hue of the upper pixels. We refer to Color HSY as ‘Color’ in line with other applications.

Left: Normal. Right: Color HSI.

Left: Normal. Right: Color HSI.

Left: Normal. Right: Color HSI.

Left: Normal. Right: Color HSL.

Left: Normal. Right: Color HSV.

Left: Normal. Right: Color.

### Hue HSV, HSI, HSL, HSY¶

Takes the saturation and tone of the lower layer and combines them with the hue of the upper-layer. Tone in this case being either Value, Lightness, Intensity or Luminosity.

Left: Normal. Right: Hue HSI.

Left: Normal. Right: Hue HSL.

Left: Normal. Right: Hue HSV.

Left: Normal. Right: Hue.

### Increase Value, Lightness, Intensity or Luminosity.¶

Similar to lighten, but specific to tone. Checks whether the upper layer’s pixel has a higher tone than the lower layer’s pixel. If so, the tone is increased, if not, the lower layer’s tone is maintained.

Left: Normal. Right: Increase Intensity.

Left: Normal. Right: Increase Lightness.

Left: Normal. Right: Increase Value.

Left: Normal. Right: Increase Luminosity.

### Increase Saturation HSI, HSV, HSL, HSY¶

Similar to lighten, but specific to Saturation. Checks whether the upper layer’s pixel has a higher Saturation than the lower layer’s pixel. If so, the Saturation is increased, if not, the lower layer’s Saturation is maintained.

Left: Normal. Right: Increase Saturation HSI.

Left: Normal. Right: Increase Saturation HSL.

Left: Normal. Right: Increase Saturation HSV.

Left: Normal. Right: Increase Saturation.

### Intensity¶

Takes the Hue and Saturation of the Lower layer and outputs them with the intensity of the upper layer.

Left: Normal. Right: Intensity.

### Value¶

Takes the Hue and Saturation of the Lower layer and outputs them with the Value of the upper layer.

Left: Normal. Right: Value.

### Lightness¶

Takes the Hue and Saturation of the Lower layer and outputs them with the Lightness of the upper layer.

Left: Normal. Right: Lightness.

### Luminosity¶

As explained above, actually Luma, but called this way as it’s in line with the terminology in other applications. Takes the Hue and Saturation of the Lower layer and outputs them with the Luminosity of the upper layer. The most preferred one of the four Tone blending modes, as this one gives fairly intuitive results for the Tone of a hue.

Left: Normal. Right: Luminosity.

### Saturation HSI, HSV, HSL, HSY¶

Takes the Intensity and Hue of the lower layer, and outputs them with the HSI saturation of the upper layer.

Left: Normal. Right: Saturation HSI.

Left: Normal. Right: Saturation HSL.

Left: Normal. Right: Saturation HSV.

Left: Normal. Right: Saturation.

### Decrease Value, Lightness, Intensity or Luminosity¶

Similar to darken, but specific to tone. Checks whether the upper layer’s pixel has a lower tone than the lower layer’s pixel. If so, the tone is decreased, if not, the lower layer’s tone is maintained.

Left: Normal. Right: Decrease Intensity.

Left: Normal. Right: Decrease Intensity.

Left: Normal. Right: Decrease Intensity.

Left: Normal. Right: Decrease Lightness.

Left: Normal. Right: Decrease Value.

Left: Normal. Right: Decrease Luminosity.

### Decrease Saturation HSI, HSV, HSL, HSY¶

Similar to darken, but specific to Saturation. Checks whether the upper layer’s pixel has a lower Saturation than the lower layer’s pixel. If so, the Saturation is decreased, if not, the lower layer’s Saturation is maintained.

Left: Normal. Right: Decrease Saturation HSI.

Left: Normal. Right: Decrease Saturation HSI.

Left: Normal. Right: Decrease Saturation HSI.

Left: Normal. Right: Decrease Saturation HSL.

Left: Normal. Right: Decrease Saturation HSV.

Left: Normal. Right: Decrease Saturation.