Color Converter
Convert colors between Hex, RGB, HSL, and OKLCH with a live swatch and hue slider.
Hex
RGB
HSL
OKLCH
Why use this tool
01Parse and convert colors across Hex, RGB, HSL, and OKLCH formats with full D65 color math.
Color Converter auto-detects the input format and converts to Hex, RGB, HSL, and OKLCH simultaneously.
Use the hue slider to explore hue variations while preserving lightness and chroma.
How to use
02Quick checks before you copy
03Confirm the input is the format you intended.
Scan the result before using it in a document, URL, config, or message.
Copy only the output you need.
FAQ
04What formats are supported?
Hex (#rgb, #rrggbb, #rrggbbaa), rgb(), rgba(), hsl(), hsla(), and oklch().
What is OKLCH?
OKLCH is a perceptually uniform color model defined by lightness, chroma, and hue. It is widely supported in modern CSS.
Does the hue slider change the input?
No. It adjusts only the displayed color by rotating the hue channel in OKLCH space while keeping lightness and chroma constant.
Related tools
03CSS Unit Converter — px / rem / em / % / pt / vw / vh→
Convert CSS lengths between px, rem, em, %, pt, vw, and vh — configurable root font size and viewport.
Hash & HMAC Generator→
Generate SHA-1/256/384/512 and MD5 hashes plus keyed HMAC codes.
Length Unit Converter→
Convert values between common length units.