Upload an image, then click anywhere on it to read that pixel's exact color. Picking happens entirely in your browser — nothing is re-uploaded per click.
Drag & drop an image here, or
Any image format your browser can open. On this page the image never leaves your browser for picking; the API accepts files up to 20 MB.
getImageData) — the image is never re-sent to the server per click, so picking is instant and works offline once loaded.curl -sS -X POST https://devops.majbase.com/color-picker/api \
-F "file=@photo.jpg" -F "x=120" -F "y=80"
// JavaScript (browser or Node 18+): file is a File/Blob
const form = new FormData();
form.append("file", file);
form.append("x", "120");
form.append("y", "80");
const res = await fetch("https://devops.majbase.com/color-picker/api", { method: "POST", body: form });
const color = await res.json(); // { hex, rgb, hsl, x, y }
console.log(color.hex);
Files up to 20 MB.
Returns JSON: {"x": 120, "y": 80, "hex": "#RRGGBB", "rgb": {"r":0,"g":0,"b":0}, "hsl": {"h":0,"s":0,"l":0}} — out-of-range x/y are clamped to the image bounds, same as clicking past the edge of the picker on this page.
Want an AI agent (Claude Code, claude.ai, or anything else that supports the Agent Skills format) to use this tool for you on request? Download the skill below and add it:
~/.claude/skills/color-picker/SKILL.md