CSS & Color
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
03Parse 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
03Quick 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
03
What 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
02Hash Generator→
Generate SHA-1, SHA-256, and SHA-512 hashes.
Length Unit Converter→
Convert values between common length units.