Skip to content
Color Converter

Color Converter

v1.3

Translate colors between HEX, RGB, HSL, and OKLCH. Type any CSS color syntax and read every format live.

Runs locally — nothing leaves your browser.

Input

Accepts HEX, RGB, HSL, and OKLCH — comma or space-separated.

Formats
HEX#3b82f6
RGBrgb(59, 130, 246)
HSLhsl(217, 91%, 60%)
OKLCHoklch(0.6231 0.188 259.81)
Quick colors
ShadesLightness ramp in OKLCH — chroma and hue held constant. Click a step to copy.
Shades