Color Converter (HEX / RGB / HSL)

Convert colors between HEX, RGB, and HSL instantly in your browser — nothing is uploaded.

HEX
RGB
HSL


Convert colors between HEX, RGB, and HSL

Type or paste any color value and all three formats are computed instantly — no button to press, no upload. The tool accepts #rrggbb and #rgb hex shorthand, rgb(r, g, b) functional notation, and hsl(h, s%, l%). You can also use the color picker to choose visually. Everything runs locally in your browser, so even sensitive palette data never leaves your machine.

The color swatch updates in real time so you can immediately verify that the converted value looks correct. Each output field has its own Copy button, making it easy to grab the format you need for CSS, design tools, or code.

FAQ

What formats are accepted? HEX (#rgb and #rrggbb), rgb(r, g, b), and hsl(h, s%, l%). Spaces around commas are allowed. Values outside valid ranges return an error.

Is my data sent anywhere? No. All conversion logic runs client-side in your browser. Nothing is uploaded or logged.

Related tools

Popular tools