Color Picker & Converter
Pick, sample, or type a color — get HEX, RGB, HSL, HSB, and CMYK instantly.
Also known as: Hex color picker, RGB to HEX converter, Color code converter
How it works
- 1Pick a color using the swatch, type a hex code, or click "Eyedropper" to sample any pixel on your screen.
- 2Or upload an image and click anywhere on it to sample that exact pixel color.
- 3Read off the HEX, RGB, HSL, HSB, and CMYK values — all shown at once.
- 4Click any format to copy it, ready to paste into code, a design tool, or a print document.
Why use Color Picker & Converter
5 formats, always visible
HEX, RGB, HSL, HSB, and CMYK are shown simultaneously — no format switcher, no extra clicks.
System eyedropper support
Sample the exact color of any pixel anywhere on your screen, not just within this page.
Sample from an uploaded image
Click directly on a photo or screenshot to read off that exact pixel's color.
Nearest named color
See the closest standard CSS color name for any color you land on.
Recent color history
Every color you pick is saved to a quick-access strip for the rest of your session.
Nothing uploaded
Color math and image sampling both happen locally in your browser.
Who uses Color Picker & Converter
Matching a brand color
Sample a logo or brand asset with the eyedropper to get its exact hex code for a style guide.
Converting for a print document
Take a hex color from a website and convert it to CMYK for a print-ready design file.
Reading a color off a screenshot
Upload a screenshot and click the exact pixel to get its precise color value.
Working across design tools
Convert between HSB (common in design software) and hex/RGB (common in CSS) without doing the math by hand.
Building a CSS custom property
Grab the HSL value directly, which is often easier to tweak lightness/saturation on than hex.
Quick color exploration
Use the random button to explore unfamiliar colors and see all their format values at once.
About Color Picker & Converter
Every design and development tool asks for color in a different format. A CSS file wants hex or rgb(), a print layout wants CMYK, a design tool's sliders often work in HSB, and a CSS custom property might be written in hsl() for easier lightness tweaks. Converting between these by hand — or hunting for a converter that supports the one format you actually need — is a small but constant friction.
This tool solves it by showing all five formats at once, updating live no matter which input method you used to land on the color. Type a hex code, drag the native color picker, use your system's eyedropper to sample a pixel from anywhere on your screen (in browsers that support the EyeDropper API), or upload an image and click directly on it to sample that exact pixel.
The eyedropper and image-sampling features solve a specific real problem: matching a color you can see but don't have the code for — a brand color in a logo, a shade from a photo, a color from another website. Instead of guessing or using an OS-level screenshot-and-guess workflow, you get the exact pixel value converted into every format you'd need.
Every conversion uses standard, verifiable color math — the same formulas used across design and browser tooling — computed directly in your browser. Nothing about the colors you pick, or any image you upload to sample from, is ever sent anywhere.
Color Picker & Converter vs. other options
How Open Tools Library compares to desktop software and other online tools.
| Feature | Open Tools Library | Desktop software | Other online tools |
|---|---|---|---|
| Price | Free, unlimited | Varies | Usually free |
| Formats at once | 5, side by side | Varies | Often 1-2 shown |
| System eyedropper | Yes, built in | OS-dependent | Rarely offered |
| Sample from an image | Yes, click any pixel | Varies | Uncommon |
| Data privacy | Never leaves your device | N/A | Usually fine, but varies |
Pro tips
- The eyedropper button only appears in browsers that support the EyeDropper API (current Chrome, Edge, and Opera) — it samples any pixel on your entire screen, not just this page.
- HSB and HSL look similar but aren't the same — HSB's "brightness" and HSL's "lightness" behave differently, especially near white and black.
- CMYK values are approximate for on-screen colors — professional print output depends on your specific printer and paper, so treat this as a strong starting point, not a final proof.
- When sampling from an image, zoom or crop beforehand for small details — the sample reads the exact pixel under your click at the image's uploaded resolution.
- Hex shorthand like #f00 is accepted and expands automatically to #FF0000.
Technical specs
- Formats shown
- HEX, RGB, HSL, HSB/HSV, CMYK
- Sampling methods
- Visual picker, hex input, eyedropper, image click, random
- Eyedropper support
- Chromium-based browsers with the EyeDropper API
- Recent colors
- Last 12, kept for the current session
- Processing location
- 100% local, in your browser
Privacy & security
Whether you're sampling a brand color or uploading a screenshot to match a shade, none of it needs to leave your browser to get an accurate result.
Color math and image-pixel sampling both run locally using the Canvas API — nothing is transmitted anywhere.
Any image you upload to sample from is never sent to a server; it's decoded and read directly in your browser tab.
No account, email, or login required.
Nothing is stored or logged after you close the tab, aside from your session's recent-colors history.
Frequently asked questions
Is this tool free to use?
Yes, completely free with no limits, and no account needed.
How is my data handled?
All color conversion and image sampling happens locally in your browser — nothing is uploaded anywhere.
What's the difference between HSB and HSL?
Both describe color using hue, but HSB's second and third values are saturation and brightness, while HSL's are saturation and lightness — the same hue can produce different-looking results at extreme values between the two models.
Can I use this to build a full palette?
For generating a full palette from a base color or an image, see the Palette Generator — this tool is focused on picking and converting a single color precisely.
Does the eyedropper work outside my browser window?
Yes — the EyeDropper API lets you sample any pixel on your screen, including other applications, not just this webpage.
Troubleshooting
The eyedropper button isn't showing up
The EyeDropper API is currently supported in Chromium-based browsers (Chrome, Edge, Opera). In unsupported browsers, use the image-upload sampling method instead.
My hex code isn't being recognized
Make sure it's a valid 3, 4, 6, or 8-character hex value, with or without the leading #. Non-hex characters will prevent it from converting.
The CMYK values look different from my print software
CMYK conversion from screen RGB is an approximation — actual print output depends on your printer's color profile, so treat this as a starting reference.
Clicking my uploaded image isn't sampling the right spot
The sample reads the pixel at the image's actual resolution under your click — for very small details, try cropping or zooming into that area before uploading.
Related searches
Landed here looking for something worded a little differently? Color Picker & Converter covers all of these too:
Ready to use Color Picker & Converter?
Free, private, and ready right now — no signup required.
Scroll to Color Picker & Converter