Utilities

Color Picker

Pick any color from your screen or an uploaded image and copy clean HEX, RGB, and HSL codes — with a built-in WCAG contrast checker for accessible design.

Pick a Color
Your browser supports the EyeDropper API for direct screen color picking.
#0D6EFD
Tip: press Ctrl + Enter to launch the screen eyedropper.
Click anywhere on the image to pick that pixel's color.
Color Values
HEX #0D6EFD
RGB rgb(13, 110, 253)
HSL hsl(216, 98%, 52%)
Recent Colors
Click a swatch to reload that color.
13
Red (R)
110
Green (G)
253
Blue (B)
28%
Brightness
Contrast Checker

Preview Text

This is how your text will look with these colors.

10.81:1
AAA

WCAG 2.1 compliance rating. Aim for at least 4.5:1 for normal body text.

How to Use the Color Picker

Capture an exact color and copy it in your preferred format in four quick steps.

  1. 1
    Choose your source. Click Pick Color from Screen to use the eyedropper, or Upload Image to pick from a picture on your device.
  2. 2
    Select the color. Click any pixel on screen, or hover over your image to see the magnified zoom preview and click the exact spot you want.
  3. 3
    Read all formats at once. The tool instantly shows the HEX, RGB, and HSL codes plus a live red, green, blue, and brightness breakdown.
  4. 4
    Copy and check contrast. Hit the copy button beside any value, and use the contrast checker to confirm your color pairing is accessible.

Key Features

Screen Eyedropper

Grab the exact color of any pixel anywhere on your screen using the native browser EyeDropper API.

Pick From Images

Upload any image and click to sample colors, with a 10× zoom preview for pixel-perfect accuracy.

HEX, RGB & HSL

Every picked color is shown in three formats at once, so you can copy whichever your project needs.

WCAG Contrast Check

Compare text and background colors and get an instant AAA, AA, or Fail accessibility rating.

Recent Color History

Your last dozen picks are saved as swatches during the session for fast reuse and comparison.

Fully Private

Screen picking, image decoding, and conversions all run on your device — nothing is uploaded.

Common Use Cases

Web & UI Design

Sample brand colors from any mockup or live site and drop the HEX straight into your CSS.

Front-End Development

Convert a designer's color to RGB or HSL for gradients, opacity tweaks, and theme variables.

Accessibility Audits

Verify that text and background combinations meet WCAG contrast requirements before you ship.

Photo Color Matching

Pull the precise color of a product, logo, or scene from a photograph for consistent branding.

Building Palettes

Collect related shades into the recent-colors strip while you compose a cohesive color scheme.

Presentations & Docs

Match slide and document accents to an existing graphic without guessing the color by eye.

Why Choose This Color Picker

What is a color picker and how does it work?

A color picker is a tool that lets you capture the exact value of a color and read it back in a code you can reuse. Instead of squinting at a screen and guessing whether a button is "navy" or "royal blue," you sample the precise pixel and get an unambiguous answer like #0D6EFD. This tool offers two ways to sample: a screen eyedropper that reads any pixel on your display, and an image picker that lets you click anywhere on an uploaded picture. Both run entirely in your browser, so there is nothing to install and nothing to upload.

The screen eyedropper uses the browser's native EyeDropper API. When you click Pick Color from Screen, the browser hands control to a system-level picker; the moment you click a pixel, its color is returned to the tool and converted into every common format. The image picker draws your file onto an HTML5 canvas, reads the red, green, and blue values of the pixel under your cursor, and shows a magnified zoom preview so you can land on the right spot down to a single pixel.

Understanding HEX, RGB, and HSL color formats

The same color can be written in several notations, and different tools expect different ones. HEX is the compact six-character code you see most often in CSS and design software. RGB expresses the color as three channels — red, green, and blue — each ranging from 0 to 255, which maps directly to how screens emit light. HSL describes the color as hue, saturation, and lightness, which is far more intuitive when you want to create a lighter tint or a darker shade of the same hue. This picker shows all three at once, so you never have to convert by hand.

Format Example Best for Strength
HEX#0D6EFDCSS, design toolsShort and universal
RGBrgb(13, 110, 253)Screens, canvas, transparencyDirect channel control
HSLhsl(216, 98%, 52%)Tints, shades, themingEasy to adjust by eye

Picking colors from your screen vs. from an image

The two modes solve slightly different problems. Screen picking is ideal when the color is already visible somewhere — a live website, a video frame, another application, or a design open in another window. Because the EyeDropper API is still rolling out, screen picking works in Chromium-based browsers like Chrome and Edge but may be unavailable in some versions of Firefox and Safari; when that happens, the button is disabled and the tool tells you so.

Image picking works everywhere, in every modern browser, because it relies only on the canvas. Upload a screenshot, a photo, or an exported graphic, hover to position the zoom preview, and click to read the pixel. This is the most reliable option on mobile and the best choice when you need single-pixel precision on a detailed image. If you frequently work with image files, you may also find our QR Code Generator handy for turning a color-matched link into a scannable code.

Checking color contrast for accessibility

Color is not just decorative — it determines whether people can actually read your content. The Web Content Accessibility Guidelines (WCAG) define a contrast ratio between text and its background, ranging from 1:1 (identical, invisible) to 21:1 (pure black on pure white). The built-in checker calculates this ratio from the relative luminance of both colors and rates the pairing automatically:

Large text (roughly 18pt or 14pt bold and up) only needs 3:1 to pass AA, so headings have a little more freedom than paragraphs. Use the live preview box to see your exact text-on-background combination before you commit it to a design.

Tips for working with color codes

Need to work with documents or links alongside your colors? Browse our PDF to Word Converter or the full Utilities collection for more free, browser-based tools.

Frequently Asked Questions

Yes. The color picker is 100% free with no sign-up, no watermark, and no usage limits. You can pick, convert, and copy as many colors as you want, as often as you want.

Yes, if your browser supports the EyeDropper API. Click Pick Color from Screen, then click any pixel anywhere on your display and the tool captures its exact color. This works in Chrome, Edge, and other Chromium-based browsers.

Screen picking relies on the browser's EyeDropper API, which is not yet available in every browser such as older versions of Firefox and Safari. When it is unavailable the button is disabled, but you can still upload an image and pick colors from it instead.

Yes. Click Upload Image to Pick Colors and choose any image file. Hover over the image to see a magnified zoom preview, then click any spot to read the exact color of that pixel. This works in every modern browser.

HEX is a six-digit hexadecimal code used widely in web design. RGB describes a color as red, green, and blue channels from 0 to 255. HSL describes it as hue, saturation, and lightness, which makes it easier to create tints and shades. The tool shows all three at once for the same color.

The contrast ratio compares your text color against your background color using the WCAG formula. A ratio of 4.5:1 or higher passes AA for normal text, and 7:1 or higher passes the stricter AAA level. Anything lower is flagged as Fail and may be hard to read.

No. Everything runs locally in your browser. Screen picking, image decoding, color conversion, and contrast checking all happen on your device, so your images and colors never leave your computer or phone.

Yes. Each color format has its own copy button that places the value on your clipboard instantly. The button briefly shows a checkmark to confirm the copy succeeded, so you can paste the code straight into your CSS or design tool.

Related Utilities

Keep building with our free browser tools

Pair the color picker with these other privacy-friendly utilities — no sign-up, no limits.