HEX / RGB / HSL Converter
Convert opaque sRGB colors between HEX, RGB and HSL.
Ready. Use Ctrl/⌘ + Enter to run.
Completed and failed run counts are stored only on this device.
How to use this tool
Enter #RGB, #RRGGBB, rgb(r, g, b) or hsl(h, s%, l%). Run to receive all three formats.
Supported input and limits
RGB uses integer channels 0–255; saturation/lightness 0–100%. Alpha, CSS names and wide-gamut color spaces are unsupported. HSL rounds to two decimals.
Frequently asked questions
Are conversions exact?
HEX and integer RGB are exact; HSL is rounded and converting it back can differ by one channel.
Is my input uploaded?
No. Processing happens in a disposable worker on your device. Only local success/failure counts are saved; input is never stored.
Related tools
JSON ↔ YAML Converter
Convert JSON and YAML 1.2 locally, with duplicate-key and alias limits.
CSV ↔ JSON Converter
Convert CSV tables and JSON arrays of flat objects. CSV output escapes spreadsheet formula prefixes.