Tools / Color Converter
Color Converter.
Paste a color in any format — a hex code, rgb(), hsl(),
HSV, CMYK, or oklch() — and copy it back in every other. It all
runs in your browser; nothing is uploaded.
Not a recognizable color — try a hex like #1B2A4E.
- HEX
- RGB
- HSL
- HSV / HSB
- CMYK
- OKLCH
Which color format should I use?
For the web
HEX and RGB are interchangeable six-byte sRGB colors — use hex for brevity. HSL makes tints and shades a one-number tweak. OKLCH is the modern choice: its lightness is perceptually even, so accessible ramps and contrast behave predictably across hues.
For pickers & print
HSV / HSB is the model behind most color-picker squares (saturation × value). CMYK describes the four print inks — treat any RGB→CMYK number as a screen approximation and confirm with a proof, since print has a narrower gamut than your monitor.