Convert raw RGB/RGBA color values into intuitive Hue, Saturation, and Lightness coordinates with live preview swatches, string parsing, and CSS export options.
The conversion from RGB coordinates to HSL involves finding the chromatic range of the red, green, and blue channels normalized between 0 and 1. First, the engine determines the maximum channel value ($C_{max}$) and minimum channel value ($C_{min}$), then calculates the difference (chroma $\Delta = C_{max} - C_{min}$).
Although both formats share identical 360-degree hue wheels, they treat brightness differently. In HSL, 100% lightness always yields pure white regardless of saturation, while 50% lightness represents pure, vibrant color. In HSV (Hue, Saturation, Value), 100% value represents maximum pigment brightness, and pure white is achieved by reducing saturation to 0%. HSL is generally preferred for web theming and CSS design tokens, while HSV is standard in digital painting and graphic software.
rgb(37, 99, 235) or rgba(15, 23, 42, 0.75)) into the paste field.rgb(...), rgba(...), modern space syntax rgb(r g b / a), and comma-separated numbers.Scenario: Translating RGB components into HSL to build a lighter tint for status pill badges.
RGB: rgb(16, 185, 129)
HSL: hsl(160, 84%, 39%) | HSV: hsv(160, 91%, 73%)
Provides exact HSL coordinates so you can adjust Lightness to 90% (hsl(160, 84%, 90%)) for soft badge styling.
Scenario: Converting RGBA values with 50% opacity into HSLA for theme styling.
RGBA: rgba(30, 41, 59, 0.50)
HSLA: hsla(217, 33%, 17%, 0.50) | Modern CSS: rgb(30 41 59 / 0.5)
Preserves alpha channels seamlessly across color spaces.
Convert hexadecimal color strings into RGB and RGBA numerical formats.
Explore and extract HEX, RGB, and HSL colors visually on a 2D spectrum canvas.
Check WCAG AA/AAA compliance for your converted colors.