Color Picker

Pick colors visually and get HEX, RGB, and HSL values.

Pick any colour and get its HEX, RGB, HSL, HSV and CMYK values and the nearest CSS colour name. Use the colour picker, type a HEX, RGB or HSL value or a colour name, or adjust hue, saturation and lightness with sliders. You'll also get a row of tints and shades to click, and the contrast ratio against white and black text. In Chrome and Edge you can sample a colour from anywhere on your screen with the eyedropper, and you can upload an image and click any pixel to grab its colour.

221°
83%
53%
HEX#2563EB
RGBrgb(37, 99, 235)
HSLhsl(221, 83%, 53%)
HSV / HSBhsv(221, 84%, 92%)
CMYKcmyk(84%, 58%, 0%, 8%)
CSS nameroyalblue (closest)

Tints and shades (click to use)

Contrast with white text: 5.17:1 (passes AA) · with black text: 4.06:1 (fails AA)

Pick a color from an image

Then click anywhere on it to grab that pixel's color.

Common use cases

  • Find the HEX or RGB code for a colour to use in CSS, Figma or Canva
  • Get the colour of a pixel in a logo, photo or screenshot
  • Convert a colour between HEX, RGB, HSL and CMYK
  • Find lighter and darker versions of a brand colour

How to use

  1. Click the colour box to pick a colour, or type a value such as #3b82f6, rgb(59 130 246) or a colour name.
  2. Adjust hue, saturation and lightness with the sliders.
  3. Copy the format you need from the table.
  4. Click a tint or shade to use it, or upload an image and click a pixel to pick from it.

FAQ

How do I get the colour code from an image?

Upload the image under 'Pick a color from an image' and click the spot you want; that pixel's colour fills in, with all its codes. In Chrome and Edge, the eyedropper button can also pick from anywhere on your screen.

What's the difference between HEX and RGB?

They describe the same colour. RGB gives the red, green and blue amounts from 0 to 255; HEX writes those three numbers in hexadecimal, so rgb(255, 0, 0) is #ff0000.

Is the CMYK value accurate for printing?

It's a simple mathematical conversion, useful as a starting point. Real print colours depend on the printer, paper and colour profile, so check with your printer for exact matches.