EN

Color Picker

Drag in the color square, move the hue slider, type a code or use the eyedropper to pick a color from anywhere on your screen. Every format updates at once and can be copied.

#6D46D3
HEX#6D46D3
RGBrgb(109, 70, 211)
HSLhsl(256.6, 61.6%, 55.1%)
HSVhsv(256.6, 66.8%, 82.7%)
OKLCHoklch(0.519 0.205 290.1)

Closest named color: Royal Blue #4169E1

Shades and tints
Matching colors

How to use it

  1. Choose a hue with the rainbow slider, then drag in the square to set saturation (left to right) and brightness (bottom to top). Arrow keys work too.
  2. Or type any HEX, RGB or HSL value, or use your browser's color input.
  3. In Chrome and Edge, press Pick from screen to grab a color from anything on your screen.
  4. Copy the HEX, RGB, HSL, HSV or OKLCH value, or click a shade or matching color to keep exploring.

HEX, RGB and HTML color codes

A hex color picker and an RGB color picker show the same color in two notations: #6D46D3 is rgb(109, 70, 211). Both work in HTML and CSS, so this is also an HTML color picker: paste the value into color, background or any CSS property. For all 148 named colors (like teal or coral), see HTML color codes; to convert a value you already have, use the color converter.

How the picker works

The square shows every saturation and brightness of one hue (HSV), which is how most design apps lay out a color picker. The values are converted with the same tested library as the rest of SwatchNest, so the HEX you copy here matches every other tool. The closest named color links to its own page with shades, palettes and contrast.

Want colors from a photo instead? Use the image color picker.

Frequently asked questions

How do I pick a color from my screen?

In Chrome and Edge, press Pick from screen and click anywhere on your screen, even outside the browser window. The browser's EyeDropper feature is not available in Firefox or Safari yet; there, use the image color picker with a screenshot.

Is this a colour picker too?

Yes. Colour is the British spelling; the picker and its HEX, RGB and HSL values are the same everywhere.

Where are my recent colors saved?

Only in this browser (local storage), so they are there when you come back. They are never sent to us.

Which format should I copy?

Use HEX or RGB for most CSS and design tools, HSL when you want to adjust lightness by hand, and OKLCH for modern CSS where even lightness steps matter.

Related tools