Color Picker & Converter

Pick and convert HEX, RGB, HSL, HSV, CMYK and OKLCH.

Free online color picker & converter by AIML Digital. It runs 100% in your browser: no sign-up, no limits, and nothing you enter is sent to a server.

Formulas

How it works

  1. Any CSS colour is parsed by the browser, then converted mathematically to each model.

Standard / source: OKLab by Björn Ottosson (2020).

Frequently asked questions

Is the Color Picker & Converter free?

Yes. The Color Picker & Converter by AIML Digital is completely free, with no sign-up, no limits and no watermark.

Is my data sent anywhere?

No. The Color Picker & Converter runs entirely in your web browser using JavaScript. What you type stays on your device.

What formula does the Color Picker & Converter use?

HSL: L = (max + min) ÷ 2; S = Δ ÷ (1 − |2L − 1|); CMYK: K = 1 − max(R′,G′,B′); C = (1 − R′ − K) ÷ (1 − K); OKLCH: linear sRGB → LMS (cube-root) → OKLab → L, C = √(a²+b²), h = atan2(b, a); Tint = mix(color, white, t); Shade = mix(color, black, t).

How does the Color Picker & Converter work?

Any CSS colour is parsed by the browser, then converted mathematically to each model.

Does the Color Picker & Converter work on mobile?

Yes. It works in any modern browser on phone, tablet or desktop, and keeps working offline once loaded (except tools that load a helper library the first time).

More Design tools