Skip to content

Color picker online

Choose any color in the square or paste a code and copy its HEX, RGB, HSL or OKLCH value. With shades, tones, harmonies and an eyedropper to grab colors from your screen.

Color Conversion

View this color's code in ten different formats, ready to copy.

How to pick and convert a color

The color picker finds an exact color in three ways: click the saturation/lightness square, drag hue on the slider, or enter a Hex, RGB, HSL or OKLCH code you already know.

Unlike the color wheel, built to explore harmonies by rotating a wheel, this tool is for when you already have a specific color in mind and need its exact code or to convert it to another format, whether for CSS, for print, or for any other use.

How to use the color picker

  1. 1. Choose the hue

    Drag the handle on the color bar to pick the hue: reds, yellows, greens, blues… It is the full turn of the color wheel, from 0° to 360°.

  2. 2. Adjust saturation and brightness

    In the large square, move the dot to the right for a more intense color and up for a brighter one. The bottom edge is always black.

  3. 3. Copy the code

    Pick the format (HEX, RGB, HSL or OKLCH) and copy it in one click. If you already have a code, paste it in the field above and the picker jumps to that color.

Which color format to use

Here is #2C71DE in the most common formats, and what each one is for.

HEX#2C71DEThe standard in CSS, HTML and design tools such as Figma: six hexadecimal digits.
RGBrgb(44, 113, 222)Red, green and blue from 0 to 255. Handy in code and when you need transparency.
HSLhsl(217, 73%, 52%)Hue, saturation and lightness. The easiest way to make lighter or darker variants of a color.
HSV / HSBhsv(217 80 87)Hue, saturation and value (also HSB). The model behind the picker square and many design apps.
OKLCHoklch(0.5663 0.1805 259.49)The modern CSS format: lightness looks even to the eye, ideal for scales and color systems.
CMYKC80 M49 Y0 K13Cyan, magenta, yellow and black for print. It is an approximate conversion, so confirm it with your printer.

Grab any color from your screen

With the eyedropper you can capture the exact color of anything you have open: a website, a screenshot, a document… Click the eyedropper icon, click anywhere and the picker gives you its code instantly.

It works in Chrome, Edge and other Chromium-based desktop browsers. If the color is in a photo, upload it to the image color picker and extract its full palette.

Open the image color picker

More than 16 million colors

It may sound exaggerated, but a modern monitor can display 16,777,216 different colors.

That is because the RGB system uses three color channels:

  • Red
  • Green
  • Blue

Each channel can have a value between 0 and 255.

Combining those three values gives exactly:

256 × 256 × 256 = 16,777,216 colors.

Even though many of them look similar, this huge range lets you find the exact tone you need, with extraordinary precision, whatever your project.

That is why a good color picker becomes an essential tool.

Frequently asked questions

A tool to choose a color visually, with a saturation and brightness square and a hue bar, and get its exact code in HEX, RGB, HSL or other formats for design or code.

A way of writing a color with six hexadecimal digits after the # sign: two for red, two for green and two for blue. For example, #2C71DE.

Enter the Hex in the picker. The conversion table automatically shows RGB, HSL, HSV, OKLCH and CMYK ready to copy.

HSL uses lightness, which is mixing with white or black, and HSB (also called HSV) uses brightness, or value. Both start from hue and saturation, but the third axis is calculated differently, so the same color can show different numbers depending on the model you use.

OKLCH is a perceptual color space: L (lightness), C (chroma) and H (hue) follow how we actually see color. RGB describes screen light (red, green, blue) and HSL reorganizes that same model in a more intuitive way, but neither guarantees that two colors with the same lightness look equally bright. OKLCH does, which makes more even palettes and more natural gradients possible.

CMYK (cyan, magenta, yellow and black) is the print model: it mixes inks on paper. Your monitor works in RGB, which is light. The picker shows the CMYK code for when you need to prepare something for print or a print-ready PDF. On screen, the right format is still RGB, Hex, HSL or OKLCH.

Use the picker eyedropper to capture any pixel on your screen (in desktop Chrome and Edge). If the color is in a photo, upload it to the image color picker.

Related tools