Kharabeesh
On-device ع

Colour Picker

Pick any colour from an image with a tap, or type its code, and get HEX, RGB, HSL, HSV and CMYK values, WCAG contrast and a palette extracted from the image. All on your device.

Free, no sign-up Saved on your device only Works offline after first open

The tool

Loading the tool…

How to use

  1. Upload (or paste) an image and tap the spot you want; the magnifier shows the exact pixel.
  2. Or type a colour as HEX, RGB or HSL.
  3. Copy the format you need and check contrast against white and black.
  4. Save colours you like to your palette; they stay in this browser.

Privacy & how it works

Saves your data in this browser only (back it up or delete it from “My data”).

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.
  • The “Pick from screen” button only appears in browsers with the EyeDropper API (Chrome and Edge on desktop). Picking from an image works everywhere.

Frequently asked questions

Are the CMYK values print-accurate?

No. They come from a simple formula on RGB with no colour profile (ICC); print shops use profiles that give different numbers. Treat them as a rough guide only.

How is the contrast ratio calculated?

With the WCAG 2 formula: the relative luminance of both colours, then (lighter + 0.05) ÷ (darker + 0.05). Normal text needs at least 4.5 for AA and 7 for AAA; large text needs 3 and 4.5.

How is the palette extracted from the image?

The image is downsampled and its colours are split into groups with the median-cut algorithm; each group is averaged. The result represents the image and may not match any single pixel exactly.

Is the image uploaded? Where is my palette stored?

The image stays in your browser and is not stored. Only the colour codes you add to your palette are saved, in this browser only.

Why does the colour differ slightly from another app?

Large images are downscaled to 1600 px before picking, and JPG files carry compression noise. Try a 3×3 or 5×5 sample to average the area.

Formulas & sources

Related tools