HEX
HEX (hexadecimal) is the standard color notation on the web: a # followed by six hex digits, two per RGB channel. #FF0000 is pure red, #000000 is black, #FFFFFF is white. The 3-digit shorthand #F00 expands to #FF0000.
#FF6B35 = hsl(16, 100%, 60%)
Convert hexadecimal color values to HSL color values exactly, via the canonical 8-bit sRGB representation. Every result you see is the same number the W3C CSS spec would produce — no proprietary adjustments, no perceptual fudging. Try the live converter below, or scan the reference table for twenty-five named colors and their HEX ↔ HSL pairs.
Six hex digits (#RRGGBB) or three digits (#RGB)
hsl(H, S%, L%) with hue 0–360, saturation and lightness 0–100
Enter the HEX color above. Convertitive accepts six hex digits (#rrggbb) or three digits (#rgb).
The result appears the moment your input parses. For example, #FF6B35 (Convertitive's coral accent) becomes hsl(16, 100%, 60%).
Click the copy button to grab the result. The preview swatch lives-updates so you can sanity-check the conversion at a glance.
Twenty-five well-known colors with their HEX and HSLrepresentations side by side. The swatches are rendered directly from the computed RGB, so what you see is exactly what you will ship.
| Name | HEX | HSL | |
|---|---|---|---|
| Black | #000000 | hsl(0, 0%, 0%) | |
| White | #FFFFFF | hsl(0, 0%, 100%) | |
| Red | #FF0000 | hsl(0, 100%, 50%) | |
| Lime | #00FF00 | hsl(120, 100%, 50%) | |
| Blue | #0000FF | hsl(240, 100%, 50%) | |
| Yellow | #FFFF00 | hsl(60, 100%, 50%) | |
| Cyan | #00FFFF | hsl(180, 100%, 50%) | |
| Magenta | #FF00FF | hsl(300, 100%, 50%) | |
| Silver | #C0C0C0 | hsl(0, 0%, 75%) | |
| Gray | #808080 | hsl(0, 0%, 50%) | |
| Maroon | #800000 | hsl(0, 100%, 25%) | |
| Olive | #808000 | hsl(60, 100%, 25%) | |
| Green | #008000 | hsl(120, 100%, 25%) | |
| Teal | #008080 | hsl(180, 100%, 25%) | |
| Navy | #000080 | hsl(240, 100%, 25%) | |
| Purple | #800080 | hsl(300, 100%, 25%) | |
| Orange | #FFA500 | hsl(39, 100%, 50%) | |
| Pink | #FFC0CB | hsl(350, 100%, 88%) | |
| Gold | #FFD700 | hsl(51, 100%, 50%) | |
| Tomato | #FF6347 | hsl(9, 100%, 64%) | |
| Coral | #FF7F50 | hsl(16, 100%, 66%) | |
| Salmon | #FA8072 | hsl(6, 93%, 71%) | |
| Indigo | #4B0082 | hsl(275, 100%, 25%) | |
| Chocolate | #D2691E | hsl(25, 75%, 47%) | |
| Crimson | #DC143C | hsl(348, 83%, 47%) |
HEX (hexadecimal) is the standard color notation on the web: a # followed by six hex digits, two per RGB channel. #FF0000 is pure red, #000000 is black, #FFFFFF is white. The 3-digit shorthand #F00 expands to #FF0000.
HSL describes a color by hue (0–360°), saturation (0–100%), and lightness (0–100%). It is the format CSS recommends for human-readable palettes because nudging the hue keeps the same lightness, unlike RGB where every channel matters.