coding help

HSV, (also known as HSB or HSL), is a way of specifying colors. It is similar to RGB/RGBA, but instead of stating how much red, green, and blue is in the color, it states the hue, saturation, and value (lightness or brightness) of the color, hence the name, HSV.

Introduction

HSV, (also known as HSB or HSL), is a way of specifying colors. It is similar to RGB/RGBA, but instead of stating how much red, green, and blue is in the color, it states the hue, saturation, and value (lightness or brightness) of the color, hence the name, HSV.


Hue, Saturation, and Value

Hue

Hue is the color or shade of the color—red, green, blue, yellow, etc.


It's expressed as degrees:

Saturation

Saturation is how much pigmentation is in the color. It can also be described as how pure the color is.


It's used as 0 to 100 percent. Reducing this component toward zero introduces more gray and produces a faded effect.


Sometimes, saturation appears as a range from 0 to 1, where 0 is gray, and 1 is a primary color.


Value

Value, also known as brightness or lightness, is how dark a color is.


Understanding

ColourPicker-AllColours


Here's a color picker. Moving to the right, you get more saturation, or color. Moving to the left, you lose color and it goes to gray—which is desaturation. The value would be up and down, and the hue exists on the color bar to the right of the big box.


Further reading

You can also use other color modes if HSV does not make sense for you. Check out Hex Codes, Named Colors and RGB/RGBA!!

References