Colour Converter takes a single colour written in any supported notation and shows the equivalent value in HEX, RGB, decimal RGB, HSL, LAB, LCH, OKLAB, and OKLCH. The conversion runs locally as you type, so you can copy the output you need without leaving the page.
Pick the format you have, then type or paste the value. Switching the input format keeps the current colour and rewrites the field in the new notation, so you can move between spaces without losing your place.
Every supported notation is listed at once. Each row shows the format name, the rendered string, and a copy button. The values are clamped into sRGB before export, so screen-displayable results are always produced even from out-of-gamut LAB or OKLCH input.
Parsing and conversion run entirely in the browser. No colour value is sent to a server.
HEX, RGB (0-255), decimal RGB (0-1), HSL, CIE LAB, LCH, OKLAB, and OKLCH. The tool round-trips through linear sRGB and CIE XYZ (D65) so every output stays consistent with the same source colour.
RGB values are rounded to integers and then re-encoded into LAB/OKLCH, so very small differences can appear after converting back. The white point used here is D65, which matches CSS Color 4.
No. All parsing and conversion runs in your browser. Nothing leaves the page.
Yes. The parser is forgiving about separators for RGB, HSL, LAB, LCH, OKLAB and OKLCH. Just type the numbers in the order shown in the placeholder.