RGB to HSL Color Converter

Please type in RGB input field and the HSL value will change on the other field instantly.

RGB Value

HSL Value

hsl( 0, 0%, 0%)

Color Preview:

Copy Color

If you need to convert RGB to HSL, you can instantly convert RGB (Red, Green, Blue) color to HSL(Hue, Saturation, Lightness) color with our RGB to HSL color converter. We know These two color models are used in web design, computer graphics, and image processing to present and manipulate colors.

PreviewColor name RGB Value HSL Value
 Mediumspringgreenrgb(0,250,154)hsl(157, 100%, 49%)
 Yellowrgb(255,255,0) hsl(60, 100%, 50%)
 Darkcyanrgb(0,139,139) hsl(180, 100%, 27.3%)
 Mediumaquamarinergb(102,205,171) hsl(160, 50.7%, 60.2%)
 Indianredrgb(205,92,92) hsl(0, 53.1%, 58.2%)
 Lightseagreenrgb(32,178,171) hsl(177, 69.5%, 41.2%)
 Olivergb(128,128,0) hsl(60, 100%, 25.1%)
 Darkslate grayrgb(47,79,79)hsl(180, 25.4%, 24.7%)
 Darkredrgb(139,0,0) hsl(0, 100%, 27.3%)
 Tealrgb(0,128,128) hsl(180, 100%, 25.1%)
 Aquargb(0,255,255)hsl(180, 100%, 50%)
 Mediumseagreenrgb(60,179,114)hsl(147, 49.8%, 46.9%)
 Goldrgb(255,217,0) hsl(51, 100%, 50%)
 Limergb(0,255,0) hsl(120, 100%, 50%)
 Darkturquoisergb(0,206,209) hsl(181, 100%, 41%)
 Springgreenrgb(0,255,128) hsl(150, 100%, 50%)
 Mediumturquoisergb(72,209,204) hsl(178, 59.8%, 55.1%)
 Chartreusergb(128,255,0)hsl(90, 100%, 50%)
 Steelbluergb(70,130,180) hsl(207, 44%, 49%)
 Aquamarinergb(127,255,212) hsl(160, 100%, 74.9%)
 Cadetbluergb(95,158,160) hsl(182, 25.5%, 50%)
 Lightcyanrgb(224,255,255) hsl(180, 100%, 93.9%)
 Greenrgb(0,128,0) hsl(120, 100%, 25.1%)
 Cornflowerbluergb(100,148,237) hsl(219, 79.2%, 66.1%)
 Seagreenrgb(46,139,86) hsl(146, 50.3%, 36.3%)
 Deepskybluergb(0,191,255) hsl(195, 100%, 50%)
 Darkkhakirgb(189,183,107) hsl(56, 38.3%, 58%)
 Lightbluergb(173,216,230) hsl(195, 53.3%, 79%)
 Paleturquoisergb(175,238,238) hsl(180, 64.9%, 81%)
 Skybluergb(135,207,235) hsl(197, 71.4%, 72.5%)
 Bluevioletrgb(137,43,226) hsl(271, 75.9%, 52.7%)
 Lightgreenrgb(144,238,144) hsl(120, 73.4%, 74.9%)
 Navyrgb(0,0,128) hsl(240, 100%, 25.1%)
 Darksalmonrgb(233,150,122)hsl(15, 71.6%, 69.6%)
 Turquoisergb(64,224,208) hsl(174, 72.1%, 56.5%)
 Mediumbluergb(0,0,205) hsl(240, 100%, 40.2%)
 Powderbluergb(176,224,230) hsl(187, 51.9%, 79.6%)
 Mediumpurplergb(148,112,219) hsl(260, 59.8%, 64.9%)
 Bluergb(0,0,255) hsl(240, 100%, 50%)
 Firebrickrgb(178,34,34) hsl(0, 67.9%, 41.6%)
 Palegreenrgb(152,251,152) hsl(120, 92.5%, 79%)
 Dodgerbluergb(30,143,255) hsl(210, 100%, 55.9%)
 Indigorgb(76,0,130) hsl(275, 100%, 25.5%)
 Salmonrgb(250,128,114) hsl(6, 93.2%, 71.4%)
 Cyanrgb(0,255,255) hsl(180, 100%, 50%)
 Darkvioletrgb(148,0,211) hsl(282, 100%, 41.4%)
 Palevioletredrgb(219,112,148) hsl(340, 59.8%, 64.9%)
 Darkslatebluergb(71,61,139) hsl(248, 39%, 39.2%)
 Limegreenrgb(50,205,50) hsl(120, 60.8%, 50%)
 Deeppinkrgb(255,20,145) hsl(328, 100%, 53.9%)
 Darkseagreenrgb(143,188,143) hsl(120, 25.1%, 64.9%)
 Magenta / fuchsiargb(255,0,255) hsl(300, 100%, 50%)
 Midnightbluergb(25,25,112) hsl(240, 63.5%, 26.9%)
 Blanchedalmondrgb(255,235,205) hsl(36, 100%, 90.2%)
 Darkmagentargb(139,0,139) hsl(300, 100%, 27.3%)
 Lawngreenrgb(126,252,0) hsl(90, 100%, 49.4%)
 Darkorchidrgb(153,50,204) hsl(280, 60.6%, 49.8%)
 Darkbluergb(0,0,139) hsl(240, 100%, 27.3%)
 Royalbluergb(65,105,225) hsl(225, 72.7%, 56.9%)
 Mediumorchidrgb(186,85,211) hsl(288, 58.9%, 58%)
 Purplergb(128,0,128)hsl(300, 100%, 25.1%)
 Lightsalmonrgb(255,160,122) hsl(17, 100%, 73.9%)
 Beigergb(245,245,220) hsl(60, 55.6%, 91.2%)
 Violetrgb(238,130,238)hsl(300, 76.1%, 72.2%)
 Orchidrgb(218,112,214)hsl(302, 58.9%, 64.7%)
 Lightyellowrgb(255,255,224) hsl(60, 100%, 93.9%)
 Saddlebrownrgb(139,69,19) hsl(25, 75.9%, 31%)
 Rosybrownrgb(188,143,143) hsl(0, 25.1%, 64.9%)
 Peachpuffrgb(255,218,185) hsl(28, 100%, 86.3%)
 Hotpinkrgb(255,105,180) hsl(330, 100%, 70.6%)
 Pinkrgb(255,192,202) hsl(350, 100%, 87.6%)
 Antiquewhitergb(250,235,215) hsl(34, 77.8%, 91.2%)
 Wheatrgb(245,222,179) hsl(39, 76.7%, 83.1%)
 Slatebluergb(105,90,205) hsl(248, 53.5%, 57.8%)
 Forestgreenrgb(34,139,34) hsl(120, 60.7%, 33.9%)
 Lemonchiffonrgb(255,250,205) hsl(54, 100%, 90.2%)
 Lightpinkrgb(255,182,193) hsl(351, 100%, 85.7%)
 Papayawhiprgb(255,239,213) hsl(37, 100%, 91.8%)
 Moccasinrgb(255,228,181) hsl(38, 100%, 85.5%)
 Chocolatergb(210,105,30) hsl(25, 75%, 47.1%)
 Thistlergb(216,191,216) hsl(300, 24.3%, 79.8%)
 Perurgb(205,134,63) hsl(30, 58.7%, 52.5%)
 Sandybrownrgb(244,165,96) hsl(28, 87.1%, 66.7%)
 Cornsilkrgb(255,248,220) hsl(48, 100%, 93.1%)
 Mediumvioletredrgb(199,21,134) hsl(322, 80.9%, 43.1%)
 Bisquergb(255,228,196) hsl(33, 100%, 88.4%)
 Tanrgb(210,180,140) hsl(34, 43.7%, 68.6%)
 Silverrgb(192,192,192) hsl(0, 0%, 75.3%)
 Lightskybluergb(135,206,250) hsl(203, 92%, 75.5%)
 Ivoryrgb(255,255,240) hsl(60, 100%, 97.1%)
 Mediumslatebluergb(124,104,238) hsl(249, 79.8%, 67.1%)
 Whitesmokergb(245,245,245) hsl(0, 0%, 96.1%)
 Lightgray / lightgreyrgb(211,211,211) hsl(0, 0%, 82.7%)
 Lavenderblushrgb(255,240,245) hsl(340, 100%, 97.1%)
 Linenrgb(250,240,230)hsl(30, 66.7%, 94.1%)
 Seashellrgb(255,245,238) hsl(25, 100%, 96.7%)
 Gainsbororgb(220,220,220) hsl(0, 0%, 86.3%)
 Lightgoldenrodyellowrgb(250,250,210) hsl(60, 80%, 90.2%)
 Slategrayrgb(112,128,144) hsl(210, 12.6%, 50.2%)
 Siennargb(160,81,45) hsl(19, 56.1%, 40.2%)
 Darkgray / darkgreyrgb(169,169,169)hsl(0, 0%, 66.3%)
 Burlywoodrgb(222,184,135) hsl(34, 56.9%, 70%)
 Mistyrosergb(255,228,225) hsl(6, 100%, 94.1%)
 Gray / greyrgb(128,128,128) hsl(0, 0%, 50.2%)
 Dimgray / dimgreyrgb(105,105,105) hsl(0, 0%, 41.2%)
 Palegoldenrodrgb(238,232,170) hsl(55, 66.7%, 80%)
 Alicebluergb(240,248,255) hsl(208, 100%, 97.1%)
 Navajowhitergb(255,222,173) hsl(36, 100%, 83.9%)
 Coralrgb(255,127,80) hsl(16, 100%, 65.7%)
 Snowrgb(255,250,250) hsl(0, 100%, 99%)
 Mintcreamrgb(245,255,250) hsl(150, 100%, 98%)
 Khakirgb(240,230,140) hsl(54, 76.9%, 74.5%)
 Yellowgreenrgb(153,205,50) hsl(80, 60.8%, 50%)
 Oldlacergb(253,245,230) hsl(39, 85.2%, 94.7%)
 Ghostwhitergb(248,248,255) hsl(240, 100%, 98.6%)
 Floralwhitergb(255,250,240) hsl(40, 100%, 97.1%)
 Lavenderrgb(230,230,250) hsl(240, 66.7%, 94.1%)
 Whitergb(255,255,255) hsl(0, 0%, 100%)
 Plumrgb(221,160,221) hsl(300, 47.3%, 74.7%)
 Orangeredrgb(255,68,0) hsl(16, 100%, 50%)
 Lightslategrayrgb(119,136,153)hsl(210, 14.3%, 53.3%)
 Maroonrgb(128,0,0) hsl(0, 100%, 25.1%)
 Brownrgb(165,42,42) hsl(0, 59.4%, 40.6%)
 Azurergb(240,255,255) hsl(180, 100%, 97.1%)
 Redrgb(255,0,0) hsl(0, 100%, 50%)
 Honeydewrgb(240,255,240) hsl(120, 100%, 97.1%)
 Tomatorgb(255,99,71) hsl(9, 100%, 63.9%)
 Darkorangergb(255,140,0) hsl(33, 100%, 50%)
 Darkgoldenrodrgb(184,135,11) hsl(43, 88.7%, 38.2%)
 Darkolivegreenrgb(85,107,47) hsl(82, 39%, 30.2%)
 Lightsteelbluergb(176,196,222)hsl(214, 41.1%, 78%)
 Orangergb(255,166,0) hsl(39, 100%, 50%)
 Blackrgb(0,0,0) hsl(0, 0%, 0%)
 Greenyellowrgb(172,255,47) hsl(84, 100%, 59.2%)
 Darkgreenrgb(0,100,0) hsl(120, 100%, 19.6%)
 Goldenrodrgb(218,165,32) hsl(43, 74.4%, 49%)
 Crimsonrgb(220,20,60) hsl(348, 83.3%, 47.1%)
 Lightcoralrgb(240,128,128) hsl(0, 78.9%, 72.2%)
 Olivedrabrgb(106,142,35) hsl(80, 60.5%, 34.7%)

RGB (Red, Green, Blue):

Red(R): Fixed the quantity of red in the color, generally ranging from 0to 255.
Green(G): Specifies the amount of green in the color, also ranging from 0 to 255.
Blue(B): Specifies the amount of blue in the color, again ranging from 0 to 255.

HSL (Hue, Saturation, Lightness):

Hue(H): Presents the type of color, often described as the dominant wavelength of light. It ranges from 0to 360 degrees, with red at 0, green at 120, and blue at 240.
Saturation (S): Represents the intensity or purity of the color. It ranges from 0 (gray) to 100% (fully saturated).
Lightness(L): Presents the brightness of the color. It limit from 0(black) to 100%(white).

To convert RGB standards to HSL standards, you need some mathematical formulas that map the RGB components to their corresponding HSL standards. These formulas involve several steps and calculations to rate the hue, saturation, and lightness of the color.

RGB to HSL Conversion Step by Step:

Calculate Lightness (L):

L = (max + min) / 2

Calculate Saturation (S):
S =(max-min) / (max + min) if L &lt= 0.5 (Luminance-based)
S =(max-min) / (2 - max - min) if L &gt 0.5 (Luminance-based)

Calculate Hue (H): H is calculated based on which color component (R, G, or B) is the max value:

If max is R: H = (G - B) / (max-min)
If max is G: H = 2 + (B - R) / (max-min)
If max is B: H = 4 + (R - G) / (max-min)

Multiply H by 60 degrees. If H is negative, add 360 degrees.
Convert Saturation and Lightness to percentages: Multiply S and L by 100 to express them as percentages.