Convert any color between HEX, RGB, and HSL. Type a value in any format and see the others instantly, with a live preview — all in your browser.
Color Converter
Convert any color between HEX, RGB, and HSL instantly — with a live preview swatch, free in your browser.
100% Free
No signup
Private — runs in your browser
Color Converter
Convert a color between HEX, RGB, and HSL — with a live preview swatch.
Converted values will appear here.
Honest limits: conversions are exact math between the three formats — but screens still show colors slightly differently from each other, so use the swatch as a guide and check the final color on the device it will be seen on.
How to use
- Type a color in HEX, RGB, or HSL.
- Click Convert.
- See all three formats with a preview.
- Copy the format you need.
Frequently asked questions
What color formats are supported?
HEX (like #C2540A), RGB (like 194, 84, 10), and HSL (like 23, 90%, 40%).
Is the conversion exact?
The math is exact between formats, but screens render colors slightly differently, so two devices may show a shade a touch differently.
Related guides
More Generate tools
QR Code GeneratorGenerateGenerate scannable QR codes as PNG or SVG.Invoice GeneratorGenerateCreate a simple printable invoice — business details, client, line items, and tax, free in your browser.UTM Link BuilderGenerateBuild trackable campaign links in seconds — source, medium, campaign, term, and content, free in your browser.Barcode GeneratorGenerateCreate print-ready barcodes free: Code 128, Code 39, EAN-13 and UPC-A with PNG & SVG export.QR Code ScannerGenerateScan QR codes free from an image, clipboard paste or camera — decoded privately in your browser.Open Graph Social PreviewerGeneratePreview how your page looks when shared — mock Facebook and X cards from your title, description, and image, free in your browser.