the same strategy. Since we already have H and C, we can straightaway find our point along the bottom three faces of the RGB cube: Overlap (when is an integer) occurs because two ways to calculate the value are equivalent: or , as appropriate. Then we can find R, G, and B by adding the same amount to each component, to match luma: Interconversion HSV to HSL Given a color with hue , saturation , and value , HSL to HSV Given a color with hue , saturation , and luminance , From RGB This is a reiteration of the previous conversion. Value must be in range . With maximum component (i. e. value) and minimum component , range (i. e. chroma) and mid-range (i. e. lightness) , we get common hue: and distinct saturations: Swatches Mouse over the swatches below to see the R, G, and B'' values for each swatch in a tooltip. HSL HSV See also TSL color space Notes References Bibliography Agoston's book contains a description of HSV and HSL, and algorithms in pseudocode for converting to each from RGB, and back again. This computer vision literature review briefly summarizes research in color image segmentation, including that using HSV and HSI representations. This book doesn't discuss HSL or HSV specifically, but is one of the most readable and precise resources about current color science. The standard computer graphics textbook of the 1990s, this tome has a chapter full of algorithms for converting between color models, in C. Joblove and Greenberg's paper was the first describing the HSL model, which it compares to HSV. This book only briefly mentions HSL and HSV, but is a comprehensive description of color order systems through history. This paper explains how both HSL and HSV, as well as other similar models, can be thought of as specific variants of a more general "GLHS" model. Levkowitz and Herman provide pseudocode for converting from RGB to GLHS and back. . Especially the sections about "Modern Color Models" and "Modern Color Theory". MacEvoy's extensive site about color science and paint mixing is one of the best resources on the web. On this page, he explains the color-making attributes, and the general goals and history of color order systems—including HSL and HSV—and their practical relevance to painters. This self-published frequently asked questions page, by digital video expert Charles Poynton, explains, among other things, why in