Open In App

HSV Color Model in Computer Graphics

A color model is a multidimensional representation of the color spectrum. The most relevant color spectrums are RGB, HSV, HSL and CMYK. A color model can be represented as a 3D surface (e.g. for RGB) or go into much higher dimensions (such as CMYK). By adjusting the parameters of these surfaces, we can obtain different colors that we see in the color spectrum around us.

HSV:

An HSV color model is the most accurate color model as long as the way humans perceive colors. How humans perceive colors is not like how RGB or CMYK make colors. They are just primary colors fused to create the spectrum. The H stands for Hue, S stands for Saturation, and the V stand for value. Imagine a cone with a spectrum of red to blue from left to right, and from the centre to the edge, the color intensity increases. From bottom to up, the brightness increases. Hence resulting white at the center up layer. A pictographic representation is also shown below.

 

Angle (in degree)

Color

0-60

Red

60-120

Yellow

120-180

Green

180-240

Cyan

240-300

Blue

300-360

Magenta

Advantages:

The advantage of HSV is that it generalizes how humans perceive color. Hence it is the most accurate depiction of how we feel colors on the computer screen. Also, the HSV color space separates the luma from the color information. this allows us to perform the operations mentioned above in the applications section, as the histogram equalization will only be required for intensity values.

Applications:

Article Tags :