This converter can convert HSL color to RGB color very quickly, HSL is alternative representation of the RGB color model, this standard includes almost all the colors that human vision can perceive. It is one of the most widely used color systems. Enter the values for colors of HSL, then click the Convert button you can get the RGB values and hex value. RGB to HSL

Type H(hue): °
Type S(saturation):%
Type L(lightness):%
Red color (R):
Green color (G):
Blue color (B):
RGB hex code (#):
Color preview:

Knowledge of converter

HSL (hue, saturation, lightness) and HSV (hue, saturation, value) are two 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 axis of neutral colors which ranges from black at the bottom to white at the top. The HSV representation models the way paints of different colors mix together, with the saturation dimension resembling various shades of brightly colored paint, and the value dimension resembling the mixture of those paints with varying amounts of black or white paint. The HSL model attempts to resemble more perceptual color models such as NCS or Munsell, placing fully saturated colors around a circle at a lightness value of ​1⁄2, where a lightness value of 0 or 1 is fully black or white, respectively.

How to convert HSL color to RGB color

To convert from HSL or HSV to RGB, we essentially invert the steps listed above (as before, R, G, B ∈ [0, 1]). First, we compute chroma, by multiplying saturation by the maximum chroma for a given lightness or value. Next, we find the point on one of the bottom three faces of the RGB cube which has the same hue and chroma as our color (and therefore projects onto the same point in the chromaticity plane). Finally, we add equal amounts of R, G, and B to reach the proper lightness or value.

Given a color with hue H∈ [0°, 360°], saturation S HSL ∈ [0, 1], and lightness L∈ [0, 1], we first find chroma:


Then we can find a point ( R1, G1, B1)along the bottom three faces of the RGB cube, with the same hue and chroma as our color (using the intermediate value Xfor the second largest component of this color):



Overlap (when H^ is an integer) occurs because two ways to calculate the value are equivalent: X=0 or X=C, as appropriate.

Finally, we can find R, G, and B by adding the same amount to each component, to match lightness:


HSL to RGB color table conversion table

ColorColor name(H,S,L)Hex(R,G,B)