Colour Tools

Color Picker

All tools

Choose a color by eye, then copy it in whichever format your code or design tool expects.

How it works

Four simple steps

1

Pick or sample

Drag on the color pad, move the hue slider, or use the eyedropper.

2

Or type a value

Enter HEX, rgb(), hsl() or exact R, G and B numbers.

3

See every format

HEX, RGB, RGBA, HSL, HSV, OKLCH and CMYK update together.

4

Click to copy

Copy any cell, or use Copy HEX for the main value.

Color Picker

About Color Picker

You are matching a button to a color in a screenshot, or simply trying shades until something feels right. The picker lets you drag around a color pad, nudge the hue, or grab a pixel from the screen, and shows the code for every common format as you go.

Drag across the saturation and brightness square and move the hue slider to explore, or type a value straight into the HEX box. That box also accepts rgb(), hsl() and a plain "59, 130, 246" list, and the R, G and B number fields below it set channels exactly. In Chromium-based desktop browsers such as Chrome and Edge, an eyedropper button appears beside the swatch so you can sample any pixel on screen. A strip of 11 tints and shades runs along the top; click one to jump to it.

The side panel lists the color as HEX, RGB, RGBA, HSL, HSV, OKLCH and CMYK, each as bare values and as a CSS-style string. Click any cell to copy it, or use Copy HEX for the main value. Random picks a fresh color and Reset returns to the default blue. Treat the CMYK numbers as a rough guide, because they come from a simple formula without a print profile.

Once you have a color, check it against its background with the WCAG contrast checker, or build a set around it in the palette generator. All color math happens in your browser.

Keyboard shortcut

Ctrl Enter - Run tool

Use cases

UI polish

Match brand colors and copy CSS-ready values into stylesheets.

Design handoff

Convert between HEX/RGB/HSL while reviewing a mock.

Anywhere

Open the tool on desktop or mobile when you need a fast conversion.

Instructions

How to use this tool

FAQ

Frequently asked questions

See all FAQs

Answers for this tool. For site-wide help, open the FAQ hub.

The button relies on the EyeDropper browser feature, which Chromium-based desktop browsers like Chrome and Edge provide. Firefox and Safari do not offer it, so the button is hidden there.

You can type rgba() or hsla() values and the alpha shows up in the RGBA row. An 8-digit HEX code is accepted, but its alpha part is dropped.

OKLCH describes color by lightness, chroma and hue in a way that tracks human perception more closely than HSL. Modern CSS supports the oklch() function, which makes it handy for building even color scales.

View more FAQs

Related tools

View all

HEX to RGB

Convert HEX to RGB.

Open

RGB to HEX

Convert RGB to HEX.

Open

Color Converter

Convert between color spaces.

Open

Palette Generator

Generate color palettes.

Open

Explore 321 free tools

Everything you need as a developer, marketer or creator - in one beautiful place.

Browse all tools