Pick a color or type a hex code. This page shows HEX, RGB and HSL using the same conversion, and copies whichever string you click.
Runs in your browser. Nothing you enter is uploaded.
| HEX | #12B673 |
|---|---|
| RGB | rgb(18, 182, 115) |
| HSL | hsl(155, 82%, 39%) |
| RGB | rgb(255, 136, 0) |
|---|---|
| HSL | hsl(32, 100%, 50%) |
| Channel | Range | Rounding |
|---|---|---|
| R, G, B | 0 to 255 | Integers from the hex pairs |
| Hue | 0 to 360 | Nearest degree |
| Saturation and lightness | 0% to 100% | Nearest percent |
Three-digit hex is expanded (abc becomes aabbcc) before the conversion.
Pick a color visually and read it back in every format you need. Drag the native color wheel or type a value to update the live preview, and the tool immediately shows you the matching HEX, RGB and HSL strings ready to paste into CSS, a design tool or a code editor. HEX is the compact web format, RGB maps directly to screen channels, and HSL is the one designers reach for when they want to nudge hue, saturation or lightness by hand. Each field has its own copy button so you grab exactly the notation your project uses. Everything runs in your browser with no uploads, so it is fast and completely private.
rgb(18, 182, 115) and hsl(155, 82%, 39%).
Yes. Three or six hex digits, with or without a leading #.
No. The conversion runs in the browser.
Give your verdict. Sign-in needed to vote and comment.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/color-picker)