Demystifying RGB vs. HSV

Most everyone who’s worked in any media for screen would (and should) be aware of the importance of the RGB value system. While it is a concise system for describing colors, it is somewhat difficult for us to describe the nature of a color by amounts of each channel by eye. So rather than describing the additive blend of colors, we can describe a color with HSV which breaks color down into more simplistic characteristics. Let’s look at each of these in detail:

RGB

Defined by listing how much red, green, and blue is contained in a single value. Being additive, the more of each color that is added, the brighter (and closer to white) it becomes.

While it’s helpful to denote how much of each color exists, it is not a very friendly system to describe a hue shift, saturation, or value/brightness. Try looking at a color and try to arbitrarily dictate how much of each primary color composes it. Not so easy, right?

Enter HSV!

download.jpg

A color system that describes a hue shift, saturation, and value! Now that’s a lot easier to describe color with. Want a color to be more turquoise? Scarlet? Plum? Just shift the hue slider until it hits the sweet spot. Need brightening without losing saturation? It does that too!

Natural Brightness

With colors having different natural brightnesses to each other, preserving luminosity when tinting with hue shifts poses a problem with contrast. When adjusting a saturation value in HSV, the value scale adjusts proportionately to maintain the same amount of brightness.

For example, as you can see in the diagram, Yellow has a higher natural brightness than purple which sits on the opposite end of the color spectrum (which is easily observed when looking at it in grey scale). What does this mean? It means that simply lightening or hue shifts destroy levels of saturation when controlling all channels. This is because the natural luminosity of red, green and blue at equal saturations differ significantly.

To compensate the desaturation, the value/brightness needs to be scaled in HSV to match. It is important to maintain a strong contrast in brightnesses, so attention to natural brightness is helpful in picking appealing color schemes and palettes. See this article on Müller’s color brightness theory: http://www.colourlovers.com/blog/2007/09/02/the-muller-formula-or-predictable-color-preferences/

The Wrap Up

While amounts in HSV are not completely relevant for telling a display how much within each RGB channel is required, it creates a scale that describes useful properties of color. And at the end of the day, it’s returned as RGB or hexadecimal; merely a different way to break down color components into locations within a given color gamut. The next time you are exploring your favorite image editor, make sure to check out the different color slider modes.

picker.png

Of course HSV doesn’t scale to all digital color spaces, but in most cases you should be able to flip over from the RGB scale. Being able to apply traditional approaches in picking and applying color opens up a more fluid and natural work flow, which can assist the transition for traditional artists migrating into the digital realm. So, HSV or RGB as a color refining scale? Obviously HSV! Get into the habit of tweaking color with the HSV sliders, and you will be able to control those all too often fidgety selectors and pickers in a breeze!

Extension

If you are keen, give these resources a read for more information relating to color in computer graphics:

Colour distribution spaces in volumetric graphs

Colour Jack

Header image by Lisa Bettany

Thanks to the guest author of this post, animator Pasquale D’Silva.

Author: evad
David Sommers has been loving color as COLOURlovers' Blog Editor-in-Chief for the past two years. When he's not neck deep in a rainbow he's loving other things with The Post Family (http://thepostfamily.com/), a Chicago-based art blog, artist collective & gallery.