HSL and HSV | hsl hsv
AlternativerepresentationsoftheRGBcolormodelFig.1.HSL(a–d)andHSV(e–h).Above(a,e):cut-away3Dmodelsofeach.Below:two-dimensionalplotsshowingtwoofamodel’sthreeparametersatonce,holdingtheotherconstant:cylindricalshells(b,f)ofconstantsaturation,inthiscasetheoutsidesurfaceofeachcylinder;horizontalcross-sections(c,g)ofconstantHSLlightnessorHSVvalue,inthiscasethesliceshalfwaydowneachcylinder;andrectangularverticalcross-sections(d,h)ofconstanthue,inthiscaseofhues0°redanditscomplement180°cyan.HSL(forhu...
Alternative representations of the RGB color model
Fig. 1. HSL (a–d) and HSV (e–h). Above (a, e): cut-away 3D models of each. Below: two-dimensional plots showing two of a model’s three parameters at once, holding the other constant: cylindrical shells (b, f) of constant saturation, in this case the outside surface of each cylinder; horizontal cross-sections (c, g) of constant HSL lightness or HSV value, in this case the slices halfway down each cylinder; and rectangular vertical cross-sections (d, h) of constant hue, in this case of hues 0° red and its complement 180° cyan.HSL (for hue, saturation, lightness) and HSV (for hue, saturation, value; also known as HSB, for hue, saturation, brightness) are alternative representations of the RGB color model, designed in the 1970s by computer graphics researchers to more closely align with the way human vision perceives color-making attributes. In these models, colors of each hue are arranged in a radial slice, around a central a...