Color Picker

Choose a color, or pick one from a photo, a screenshot or your screen, then copy its HEX, RGB or HSL code. Images stay on your device.

Pick a color

#4682B4

Recent colors

Colors you pick, copy or type are kept here, in this browser only.

Your color

#4682B4Steel Blue
Color code

Paste HEX, RGB, HSL, HSV, CMYK, OKLCH or a name.

  • HEX#4682B4
  • RGBrgb(70, 130, 180)
  • HSLhsl(207, 44%, 49%)
  • HSVhsv(207, 61%, 71%)
  • CMYKcmyk(61%, 28%, 0%, 29%)
  • OKLCHoklch(58.8% 0.099 245.7)

Text on this color

White text

4.10:1AA large

Black text

5.11:1AA

Body text needs 4.5:1 (AA); large text needs 3:1.

Tints and shades

Drop a logo, a product photo or a screenshot of a website and click the exact pixel whose color you need.

Free with no sign-up, and your last 12 colors stay in this browser, so a color you found yesterday is one click away.

  • HEX, RGB, HSL, HSV, CMYK and OKLCH
  • Zoomed loupe for single pixels
  • Pick from screen in Chrome and Edge

How to find the hex code of a color

Find a color code in three steps, from the picker, a pasted code or an image.

  1. Pick or paste a color

    Drag the circle over the color square and slide the hue bar, or paste a code such as #4682B4 into the code box.

  2. Pick from an image

    Open the Image tab and drop a photo or screenshot. A loupe zooms in as you move, then click the pixel you want.

  3. Copy the color code

    HEX, RGB, HSL, HSV, CMYK and OKLCH change together as you pick. Press the copy button beside the one you need.

Color picker from an image

A brand blue in a logo, the green of a sofa in a shop photo or the exact background of a web page: drop the image here and click the spot. You get its hex code at once, with no design app to open and no guessing by eye.

Photos are rarely one flat color up close, since grain and compression mix nearby pixels. The loupe shows each pixel large, and the Sample setting averages a 3 × 3 or 5 × 5 patch, so a single stray dot does not throw the code off.

JPG, PNG, WebP, GIF, AVIF, HEIC and TIFF files all open, and a screenshot can be pasted straight from the clipboard. The image is read in this tab and is never uploaded, which matters for unreleased designs or private photos.

HEX, RGB, HSL and CMYK codes

Every pick is written in six formats at once. HEX and RGB are the two that websites, Canva, Figma and Office ask for most, so turning RGB to hex or back again is just a matter of copying the other line.

HSL describes a color by hue, saturation and lightness, which makes a lighter or duller version easy to write in CSS. HSV is the model behind most design apps' color squares, and OKLCH is the newer CSS format whose steps look even to the eye.

CMYK gives the cyan, magenta, yellow and black percentages for print. It is a plain conversion with no printer profile, so treat it as a starting point and ask your print shop for their exact values before a large run.

What this online color picker does

  • Pick color from screen

    In Chrome and Edge, Pick from screen turns the pointer into an eyedropper for any window or app.

  • Paste any color code

    Paste a hex code with or without #, an rgb() or hsl() value or a name like teal to jump to it.

  • Random color generator

    Random color draws one of all 16.7 million screen colors from your browser's secure random source.

  • Color name finder

    Every color shows the nearest of the 148 CSS color names, such as Steel Blue, Tomato or Teal.

  • Tints and shades

    Eleven steps from near white to near black sit under the codes. Click one to make it the pick.

  • Readable text check

    Shows white and black text on the color, each with its contrast ratio and WCAG AA or AAA grade.

Are your images uploaded?

No. Pictures are read in this tab and go nowhere.

  • Processing

    Each pixel you pick is read from the image by code in this tab, so the picture never goes online.

  • Storage

    Only your last color and recent picks stay in this browser. The image goes when you close the tab.

  • Account

    A free color picker with no sign-up and no email. Pick as many colors as you like, none tracked.

Questions about color codes

How do I find the color code of an image?

Open the Image tab, drop the picture and click the spot you want. Its HEX, RGB and other codes appear on the right.

How do I find the hex code of a color?

Pick the color with the square, from an image or from your screen. The hex code is the first line, ready to copy.

What is a hex color code?

A # and six digits from 0 to F, two each for red, green and blue. #FF0000 is pure red and #FFFFFF is white.

How do I pick a color from my screen?

In Chrome or Edge on a computer, press Pick from screen and click anywhere. Safari and Firefox do not offer it yet.

How do I convert HEX to RGB?

Paste the hex code into the code box and copy the RGB line. Each pair of hex digits is one channel from 0 to 255.

What is the difference between RGB and CMYK?

RGB mixes light for screens, CMYK mixes ink for print. Some bright screen colors cannot be printed and come out duller.

How do I find the name of a color?

Pick it and read the name under the swatch. It is the closest CSS name, which may be near rather than an exact match.

Can I use a color picker on iPhone?

Yes. Open this page in Safari and pick from a photo in your library. Picking from the whole screen needs a computer.

Still stuck, or found a problem? Email dobliquestudio@gmail.com and we will help.