Hsv Color Space Article Index for
Hsv
Website Links For
Color
 

Information About

Hsv Color Space




The HSV (Hue, Saturation, Value) model, also known as '''HSB''' (Hue, Saturation, Brightness), defines a Color Space in terms of three constituent components:

  • Hue , the Color type (such as red, blue, or yellow):

  • --- Ranges from 0–360 in most applications. Each value corresponds to one color. Examples: 0 is red, 45 is a shade of orange and 55 is a shade of yellow.

  • Saturation , the intensity of the color:

  • --- Ranges from 0–100%. 0 means no color, i.e., a shade of grey between black and white. 100 means intense color.

  • --- Also sometimes called the "purity" by analogy to the Colorimetric quantities Excitation Purity and Colorimetric Purity .

  • Value , the Brightness of the color:

  • --- Ranges from 0–100%. 0 is always black. Depending on the saturation, 100 may be white or a more or less saturated color.


The HSV model was created in 1978 by Alvy Ray Smith . It is a Nonlinear Transformation of the RGB Color Space , and may be used in Color Progression s. Note that HSV and HSB are the same, but HSL is different.

  • a---b or another CIE -based color model.



VISUALIZATION OF HSV


The HSV model is commonly used in computer Graphics Applications . In various application contexts, a user must choose a color to be applied to a particular graphical element. When used in this way, the HSV Color Wheel is often used. In it, the hue is represented by a circular region; a separate triangular region may be used to represent saturation and value. Typically, the vertical axis of the triangle indicates saturation, while the horizontal axis corresponds to value. In this way, a color can be chosen by first picking the hue from the circular region, then selecting the desired saturation and value from the triangular region.



60^\circ imes rac{G - B}{\mathit{MAX} - \mathit{MIN}} + 360^\circ, & \mbox{if } \mathit{MAX} = R \ &\mbox{and } G < B \
60^\circ imes rac{B - R}{\mathit{MAX} - \mathit{MIN}} + 120^\circ, & \mbox{if } \mathit{MAX} = G \
60^\circ imes rac{R - G}{\mathit{MAX} - \mathit{MIN}} + 240^\circ, & \mbox{if } \mathit{MAX} = B
\end{cases}


S =
\begin{cases}
0, & \mbox{if } \mathit{MAX} = 0 \
1 - rac {\mathit{MIN}} {\mathit{MAX}}, & \mbox{otherwise}
\end{cases}


V = \mathit{MAX} \,


From HSV to RGB


In computer graphics, sometimes each HSV and RGB parameter is represented by an integer from 0 to 255 instead of a real number. In this case, the transforms do not cover all the points in the target space and some distortion is caused by rounding. For example:



COMPLEMENTARY COLORS


See Also: Complementary color



We regard two colors as complementary if when mixed together they produce a shade of grey. Given a color (H, S, V) in HSV color space, there exists a complement (H', S', V') such that when (H, S, V) and (H', S', V') are mixed in equal proportions, the saturation of the resulting color is 0. Then,


REFERENCES



SEE ALSO