RGB to HSL color converter

Convert RGB color to HSL color. RGB color is represented by the red, green, and blue color values. HSL color is represented by hue, saturation, and lightness values.

Converting rgb to hsl

To convert rgb to hsl, you can enter the RGB color code, which ranges from 0 to 255.

The desired HSL color code, which ranges from 0 to 360 for hue, and 0% to 100% for saturation and lightness will be displayed in the below filed.

You can also see the color in the color preview box. You can also change the colors from the preview box and the values will be automaticaly updated.

What is rgb?

RGB stands for Red, Green, and Blue. It is denoted as rgb(red, green, blue). Each color can have a value from 0 to 255. An example would be rgb(255, 0, 0) for red.

What is hsl?

HSL stands for Hue, Saturation, and Lightness. It is denoted as hsl(hue, saturation%, lightness%). Hue ranges from 0 to 360, and saturation and lightness range from 0% to 100%. An example would be hsl(0, 100%, 50%) for red.

Comments on this page

Login or Signup to add a comment