Representing colors with hue, saturation, and brightness
In this chapter, we played with image colors. We used different color spaces and tried to identify image areas that have a specific color. The RGB color space, for instance, was considered, and although it is an effective representation for the capture and display of colors in electronic imaging systems, this representation is not very intuitive. This is not the way humans think about colors. We talk about colors in terms of their tints, brightness, or colorfulness (that is, whether a color is vivid or pastel). The phenomenal color spaces, based on the concepts of hue, saturation, and brightness, were introduced to help users to specify the colors using properties that are more intuitive to them. In this recipe, we will explore the concepts of hue, saturation, and brightness as a means to describe colors.