Skip to content
ToolZone

Color Picker

Select any color visually and instantly get its HEX, RGB, and HSL values, useful for grabbing an exact color value for design or code.

Runs in your browser. Nothing you enter or upload leaves your device.

Pick a color, or type a HEX code
HEX
#2563EB
RGB
rgb(37, 99, 235)
HSL
hsl(221, 83%, 53%)
CMYK
cmyk(84%, 58%, 0%, 8%)

Contrast (WCAG)

Aa
On white: 5.17:1
✓ AA✗ AAA✓ AA large
Aa
On black: 4.06:1
✗ AA✗ AAA✓ AA large

Tints and shades

Color harmonies

Complementary
Analogous
Triadic

Click any swatch to select it.

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the Color Picker

Color Picker opens your browser's color selector and shows everything you need about the chosen color: HEX, RGB, HSL and CMYK values with copy buttons, WCAG contrast against white and black, tints and shades, and complementary, analogous and triadic harmonies. Recent picks are remembered in your browser.

How it works

The tool is built on the HTML color input. When you choose a color, the browser hands back a six-digit hexadecimal value such as #2563eb, where each pair of digits is the red, green and blue intensity from 00 to FF (0 to 255).

The value is shown in uppercase and used to fill a preview block, and the tool converts it to RGB, HSL and CMYK, checks its contrast against white and black, and builds tints, shades and harmonies from it. Everything else, such as whether you get a color wheel, sliders, numeric fields or an eyedropper, depends on the browser and operating system you're using.

How to use

  1. 1

    Click the color swatch to open your browser's color selector, or type a HEX code next to it.

  2. 2

    Choose a color, using the eyedropper if your browser offers one.

  3. 3

    Copy the format you need, and check the contrast badges for text use.

  4. 4

    Click a tint, shade or harmony swatch to explore related colors.

Worked examples

Default blue

Opening the tool without changing anything.

Input
Starting color
Result
#2563EB

Matching a logo color

A designer uses the browser's eyedropper to sample an orange from a logo open in another window.

Input
Sampled orange
Result
A HEX value such as #F97316, ready to paste into CSS

The exact value depends on the pixel you sample; anti-aliased edges give slightly different shades than the solid middle of a shape.

Limitations
The picking interface, including whether an eyedropper exists, depends on your browser and device. There is no transparency (alpha) support. CMYK values are a simple conversion; print colors depend on the printer's color profile.
Assumptions
You want a standard six-digit sRGB HEX code for web or design use.
Privacy
The picker runs entirely in your browser and doesn't send or store the colors you choose.

Frequently asked questions

Can I pick a color from an image or another window?+

If your browser's color selector includes an eyedropper (most desktop Chrome and Edge versions do), you can sample any pixel on screen with it. The tool itself doesn't load images.

Which color format should I use in my project?+

HEX, RGB and HSL are all valid in modern CSS. HEX is the most compact and the most widely accepted by design tools and CMS settings.

Does the tool show RGB or HSL values?+

Yes. HEX, RGB, HSL and CMYK are all shown, each with a copy button.

Is #2563eb the same as #2563EB?+

Yes. HEX codes are not case-sensitive. The tool simply displays and copies them in uppercase.

Can I pick a semi-transparent color?+

No. The browser's color input only returns solid six-digit colors without an alpha channel.

Related tools