← All tools

Color picker

Pick a color or grab one from the screen to see and copy its HEX, RGB and HSL code at once. It runs in your browser and nothing is sent to a server.

Type HEX (#3b82f6), rgb(), hsl() or a color name (blue). Click any swatch below to select that color.

Tints and shades

Complementary color

Analogous colors

Triadic harmony

Why you need color codes

To make the colors of a website, logo or social media template look the same everywhere, colors are given as codes. Instead of saying "dark blue" by eye, write #1e3a8a and your website, Canva, Figma, PowerPoint and the printer all use the same color. That is why brand guidelines list colors as HEX and RGB codes.

Picking a color from the screen

With the pick-from-screen button you can grab the color of any point with an eyedropper: a button on a competitor's website, a logo in a PDF or a shade in an open image. It uses the browser's EyeDropper feature, which currently works in Chromium-based browsers such as Chrome and Edge. In other browsers, choose the color with the picker or type the code by hand.

To take a color from a photo, the Image color picker tool is a better fit.

Finding matching colors

HSL is the easiest format for finding lighter and darker versions of a color: keep the hue (H) and saturation (S) fixed and change only the lightness (L) to get a palette, for example 45% for a button, 38% on hover and 95% for a background. After choosing text and background colors, check their readability with the Color contrast tool. All calculations run in your browser.

How to use it

  1. Choose a color with the color box, or type HEX, rgb(), hsl() or a color name in the code field.
  2. If you need a color from the screen, press Pick from screen and click the color with the eyedropper (Chrome and Edge).
  3. Copy the HEX, RGB and HSL values with the Copy buttons. Use the swatches below to move to tints and matching colors.

Frequently asked questions

How do I find the code of a color on my screen?

Press Pick from screen and click the color you want with the eyedropper. This uses the browser's EyeDropper feature and currently works in Chromium-based browsers such as Chrome and Edge. In other browsers the button is hidden and you can choose the color with the box instead.

What is the difference between HEX, RGB and HSL?

All three write the same color in a different way. HEX gives a short code (#3b82f6), RGB gives the amount of red, green and blue from 0 to 255, and HSL describes the color as hue, saturation and lightness, which makes adjusting shades easier.

Which formats can I type?

HEX (#3b82f6 or the short #38f), rgb(59, 130, 246), hsl(217, 91%, 60%) and CSS color names such as blue. For a semi-transparent color, rgba(), hsla() or an 8-digit HEX also work.

Are my colors sent anywhere?

No. Everything is computed in your browser and nothing is uploaded.

Related guide

Related tools