Color Picker

Use this free color picker to choose any color and copy its HEX, RGB, HSL and OKLCH codes. Use the eyedropper to pick a color from your screen or from an image, and get matching tints, shades and harmonies.

Picking from the screen works in Chrome, Edge and Opera on desktop. In other browsers, use "Pick from image".

Click anywhere on the image to pick that color.

All color formats
HEX
HEX + alpha
RGB
RGBA
HSL
OKLCH
Tailwind
Tints and shades
Color harmonies
Complementary
Analogous
Triadic

Click a swatch to select it. Harmonies are calculated in OKLCH, so they keep the same lightness.

Free Online Color Picker with Eyedropper

Choose a color from the palette, type a color code, or grab the exact color of anything on your screen with the eyedropper. You can also upload a photo, logo or screenshot and click on it to pick a color from the image.

Every color is shown as HEX, RGB, RGBA, HSL, OKLCH and a Tailwind class, ready to copy. The picker also builds a full range of tints and shades and complementary, analogous and triadic harmonies to help you create a palette.

Color picked and shown as hex and RGB codes#4F46E5rgb(79, 70, 229)OnlineColor Picker

How to use the color picker

  1. Choose a color. Click the color square to open your browser's color picker, type any code (HEX, RGB, HSL or OKLCH), or press Random color.
  2. Or pick it from somewhere. Click "Pick from screen" to use the eyedropper anywhere on your screen, or "Pick from image" to upload an image and click on it.
  3. Adjust the opacity if you need a transparent color.
  4. Copy the code you need from the formats table, or click a tint, shade or harmony to explore related colors.

How to pick a color from an image

To find the exact color of a logo, a product photo or a screenshot, click Pick from image and choose the file. The image appears below the buttons. Click on any point of the image and that pixel's color is selected, with all its codes ready to copy.

The image is opened in your browser only; it is never uploaded. For colors in other apps or websites, the Pick from screen eyedropper is faster: it lets you click anywhere on your screen, outside the browser too.

Color formats explained

FormatExampleBest for
HEX#4F46E5CSS, design tools, brand guides
HEX + alpha#4F46E580Transparent colors in CSS and Figma
RGB / RGBArgba(79, 70, 229, 0.5)CSS, JavaScript, canvas
HSLhsl(243.4, 75.4%, 58.6%)Quick manual tweaks to hue or saturation
OKLCHoklch(51.06% 0.2301 276.97)Modern CSS, palettes, Tailwind CSS v4
Tailwindbg-[#4f46e5]Arbitrary colors in Tailwind CSS

Need just one conversion? Use HEX to RGB, RGB to HEX or HEX to OKLCH.

Tints, shades and color harmonies

  • Tints and shades: eleven steps from very light to very dark, similar to the 50–950 scale of Tailwind CSS. They are created by changing only the OKLCH lightness, so every step keeps the same hue.
  • Complementary: the color opposite on the color wheel (180°). High contrast, good for calls to action.
  • Analogous: neighbours 30° either side. Calm, harmonious combinations.
  • Triadic: three colors 120° apart. Balanced but colorful.

Before using two colors for text and background, check them with the color contrast checker.

Frequently Asked Questions

Common questions about picking colors online.

Click Pick from screen and then click anywhere on your screen. The color under the cursor is selected and its codes appear in the table. This uses the EyeDropper feature of Chrome, Edge and Opera on desktop.

Your browser does not support the EyeDropper feature yet (Firefox and Safari currently do not). Take a screenshot and use Pick from image instead.

Click Pick from image, choose the image and click on the color. The hex code appears at the top of the formats table, ready to copy.

No. The image is drawn in your browser and never leaves your device.

They are different ways to write the same color. HEX and RGB list the red, green and blue amounts; HSL uses hue, saturation and lightness. OKLCH is a modern format that matches how people see lightness.

Pick your main color and use the tints and shades for lighter and darker versions, plus the harmonies for accent colors. Click any swatch to select it and copy its code.

Yes, it is free, needs no sign-up and works on desktop and mobile.