YourFileKit
Esc
Home/Tools/Color Converter

Convert a color between formats

Enter a color as hex, rgb(), or hsl() and get all three back instantly, with sliders to fine-tune it.

Colors are converted in your browser. Nothing is uploaded to our servers.
Fullscreen
Any format. Hex, rgb(), or hsl()
R124
G58
B237
01
Enter a color

Type a hex code, an rgb()/hsl() string, or pick one with the color swatch.

02
Fine-tune it

Drag the R, G, and B sliders to adjust the color directly.

03
Copy any format

Click the hex, RGB, or HSL row to copy it.

Frequently asked

Is my input sent anywhere?

No. Every conversion runs in this tab. Nothing is sent anywhere.

What formats can I type in?

Hex (#7C3AED or #fff), rgb(124, 58, 237), and hsl(262, 83%, 58%) are all recognized.

Does this support alpha/opacity?

No. This tool works with fully opaque colors only.

Does this work offline?

Yes, once the page has loaded.

Related tools