ToolerCat / Color Converter

Color Converter

Paste any color — HEX, RGB, HSL, CMYK, OKLCH or a CSS name — and get every format plus a palette.

Try:

Check contrast → · CSS color names →

Which color format should I use?

HEX and RGB are the classic web formats. HSL is easier to tweak by hand (hue, saturation, lightness). OKLCH is the modern CSS format: equal steps in lightness look equal to the eye, so palettes and hover states stay consistent, and it can describe wide-gamut (P3) colors. CMYK is for print — the values here are a simple conversion, not a printer profile.

FAQ

How do I convert HEX to RGB?

Split the six hex digits into three pairs and convert each from base 16: #FF6600 → FF = 255, 66 = 102, 00 = 0 → rgb(255 102 0).

What are tints and shades here?

Eleven steps from very light to very dark with the same hue and chroma in OKLCH — ready for a design-system scale (50–950).

Why is my color “outside sRGB”?

Some OKLCH or Display-P3 colors cannot be shown on standard screens; the tool shows the closest displayable color for HEX/RGB/HSL.

More about this tool

Convert colours between HEX, RGB, HSL, HSV, CMYK and CSS names, with a live preview and copy-ready CSS values.

Useful when moving colours between design tools, code and print, or when a brand guide gives a value in a format your stylesheet does not use.