Skip to main content

Online Screen Color Picker

An online color picker from screen to code: point at any pixel, click, and copy its exact HEX, RGB, HSL or CMYK value.

Pick a Color

Click the button or press Alt + Q to pick

hex
rgb
rgba
hsl
hsla
hsv
oklch
oklab
cmyk

Settings

Automatically copy picked colors

How to pick a color?

  1. 1Open any file on your computer where you want to pick your color from.
  2. 2Move your windows (the opened file and the browser) so that you can see both on your screen.
  3. 3Start picking colors by pressing the button 'Pick color' or using the shortcut Alt + Q.
The Color Picker panel after a pick: a pale pink swatch with the eyedropper button, its HEX, RGB, RGBA, HSL, HSLA, HSV and CMYK values listed underneath, and the output-format buttons on the right with HEX selected.
One pick fills every format. The Auto Copy switch and the format buttons on the right decide which of them lands on your clipboard.

Why use our Online Color Picker?

Our free online screen color picker helps designers and developers quickly extract colors from any part of their screen. Easily get HEX, RGB, HSL, CMYK and other color formats for your digital designs, websites, images, and artwork. Save your color history and experiment with palettes efficiently—all directly in your browser. Screen sampling uses the browser's native EyeDropper API, which is why the picker works in Chrome, Edge and Opera and shows a notice instead of a broken button in browsers that have not implemented it.

Every format the picker returns

All seven values come from the same sRGB color the EyeDropper API reports. This is the full output for a pick of orange #ff5733.

FormatWhat the numbers meanValueWhere you need it
HEXThree 0-255 channels written as two hex digits each#ff5733CSS, HTML, design tools, palette naming
RGBRed, green and blue as 0-255 integersrgb(255, 87, 51)CSS, canvas fillStyle, getImageData()
RGBARGB plus an alpha channel written as a 0-1 fractionrgba(255, 87, 51, 1)CSS transparency, canvas, shadows
HSLHue in degrees, saturation and lightness as percentageshsl(11, 100%, 60%)CSS custom properties, theme scales
HSLAHSL plus an alpha channelhsla(11, 100%, 60%, 1)CSS translucent layers
HSVHue, saturation and value - the notation design apps label as HSBhsv(11, 80%, 100%)Photoshop, Figma and other color sliders
CMYKCyan, magenta, yellow and black ink coveragecmyk(0%, 66%, 80%, 0%)Print, prepress, packaging

HEX, RGB, RGBA, HSL and HSLA are CSS values, so you can paste them straight into a stylesheet. hsv() and cmyk() are not part of CSS: browsers drop those declarations. Use them in design tools or hand them to a print workflow instead.

What a browser accepts when you paste it

Rounding is the other trap. This tool prints saturation, lightness and hue as whole numbers, so pasting an HSL value back in can land one level off in a channel - hsl(11, 100%, 60%) renders as rgb(255, 88, 51), not rgb(255, 87, 51). Keep the HEX or RGB value if a channel has to match exactly.

You pasteBrowser resultReason
#ff5733AcceptedSix-digit hex is a legal CSS color
rgb(255, 87, 51)AcceptedChannels are integers in the 0-255 range
hsl(11, 100%, 60%)AcceptedSaturation and lightness carry their percent signs
hsl(11, 100, 60)Declaration droppedUnitless saturation and lightness are not valid
rgba(255, 87, 51, 100)Accepted as opaqueAlpha is a 0-1 number, so 100 is clamped to 1
cmyk(0%, 66%, 80%, 0%)Declaration droppedPrint notation, not a CSS color function

Observed in Edge 150 (Chromium) by assigning each string to an element style and reading it back. WebKit and Gecko implement the same CSS Color parsing rules, so the outcomes match on the invalid forms.

Browser support for screen picking

The Pick Color button calls the EyeDropper API. Where that API is missing the page says so and points you at the image workflow, instead of showing a button that does nothing.

Browser or platformScreen pickingDetail
Chrome, Edge, OperaYesFrom version 95 on desktop
Chrome on ChromeOSYes, from 120Older ChromeOS builds hid the API
Chrome on LinuxX11 onlyNot exposed under Wayland sessions
FirefoxNoDesktop and Android, any version so far
SafariNomacOS and iOS alike
Android and iPhone browsersNoNo mobile build exposes EyeDropper

Version data taken from the MDN browser-compat-data entry for the EyeDropper API, checked in October 2026. On a phone, take a screenshot and drop it into the Image Color Picker - that path works everywhere because it only needs a canvas.

Copy-paste CSS from one picked color

A single pick gives you everything a theme needs. Turn it into custom properties for plain CSS, or into a Tailwind color map - the Export button on this page writes the same Tailwind shape for every color in your history, keying them as color-1, color-2 and onward.

Design tokens as CSS custom properties

:root {
  --brand-500: #ff5733;
  --brand-500-rgb: 255, 87, 51;
  --brand-soft: rgba(var(--brand-500-rgb), 0.12);
}

.hero {
  background: var(--brand-500);
  color: hsl(11, 100%, 96%);
}

Keeping the channels as three plain numbers lets you build any translucent variant later with rgba(var(--brand-500-rgb), 0.12) instead of hard-coding a second color.

The same color in a Tailwind config

module.exports = {
  theme: {
    extend: {
      colors: {
        'color-1': '#ff5733',
        'color-2': '#0ea5e9'
      }
    }
  }
}

Getting clean samples off your screen

Screen picking reads one pixel and calls it sRGB. That is exact, and it is also easy to aim badly. A few habits keep the numbers worth pasting.

  • Sample flat fills, not edges. Glyph stems, icon curves and photo detail are anti-aliased, so the pixel you land on is a blend of your target color and whatever sits behind it. Zoom in and pick the middle of a solid area.
  • Watch dithering and JPEG blocks. Gradients and heavily compressed photos put neighboring pixels several levels apart, so two picks a pixel apart can disagree. Move away from block borders.
  • Pick the layer you mean. Translucency, browser chrome, and video scaling are already composited into the pixel you sample. If an overlay is on top of the swatch, you are measuring the overlay.
  • Use history before you lose it. The last 8 picks stay on the panel and feed the site-wide color stack (up to 10 colors) that other tools read, all in local storage on this device.

Screen pixel or file pixel?

These are the two picking tools on this site and they answer different questions, so it is worth choosing on purpose rather than by habit.

  • This page reads a pixel off your display through the EyeDropper API. It works on anything visible at all - a video frame, another app, a PDF viewer - but only in browsers that ship that API.
  • Image Color Picker decodes a PNG, JPEG or WebP you upload and reads its pixels from a canvas, plus it proposes a dominant-color palette. It runs everywhere, including phones.

If the color lives in a file you can get hold of, upload it. If it only exists on screen, pick it here. For the step-by-step version of the second route, see the guide to picking a color from an image.

Frequently Asked Questions

Related Tools