Skip to content
Pick → HEX, RGB, HSL, CMYKDeveloper tools

Color Picker

Pick any colour and copy it as HEX, RGB, HSL or CMYK. Grab colours from your screen, see tints and shades, and check text contrast against WCAG.

About this tool

About Color Picker

Color Picker gives you every code for a colour in one place. Choose a colour with the picker, type or paste a HEX code (both #1e90ff and the short #19f work), or click one of the presets. In Chrome and Edge on a computer, Pick from screen turns your pointer into an eyedropper so you can take a colour from anything visible: a logo on a website, a photo, a slide or another app. The colour then appears in six formats, each with its own copy button: HEX for CSS and design tools, RGB and RGBA for code, HSL and HSLA, which are easier to adjust by hand, and CMYK as a starting point for print. Below that is a strip of tints and shades: lighter and darker versions of the same colour that you can click to use, which is handy for hover states, borders and backgrounds that match. The contrast panel shows how readable the colour is as text on white and on black, with the ratio and its WCAG grade: AA needs 4.5:1 for normal text and 3:1 for large text, and AAA needs 7:1. Use it to check that a brand colour is safe for buttons and links before you ship a design. Everything is calculated in your browser, so it works instantly and nothing is sent anywhere. CMYK values are mathematical conversions; for exact print colours, ask your printer for a proof.

Color Picker tool

Who uses a colour picker

From brand colours to CSS

Web developers

Get the exact HEX or RGB value for CSS, Tailwind or a theme file.

ExampleA designer’s blue is pasted as #1E90FF and copied as rgb(30, 144, 255) for a chart library.

Designers

Build a small palette from one brand colour with matching tints and shades.

ExampleA lighter tint becomes the card background and a darker shade the hover colour.

Accessibility checks

Make sure button and link colours are readable.

ExampleAn orange link scores 2.9:1 on white, so a darker shade is chosen to reach 4.5:1.

Matching a website

Grab a colour from a site or screenshot with the eyedropper.

ExampleA client’s logo colour is picked straight from their homepage.

Print drafts

Get approximate CMYK values to give a printer as a starting point.

ExampleA banner colour is sent to the print shop as cmyk(88%, 44%, 0%, 0%).

Social graphics

Keep posts on brand by reusing the same codes every time.

ExampleThe HEX codes of three brand colours are saved for every Canva design.

Colour tips

Use colour codes with confidence

Aim for 4.5:1 for text

Normal-size text needs at least 4.5:1 contrast with its background to meet WCAG AA. Large headings need 3:1.

Adjust with HSL

To make a colour lighter or more muted by hand, change the L (lightness) or S (saturation) value in HSL rather than guessing HEX digits.

Screens and print differ

Screens mix light (RGB) and printers mix ink (CMYK). Bright screen colours can look duller in print, so ask for a proof.

Get a palette from a photo

To pull several colours from an image at once, use the Palette Extractor.

Open Palette Extractor

Converting a code you have

If you already have an RGB or HSL value, the Color Converter turns it into the other formats.

Open Color Converter

Eyedropper missing?

Pick from screen needs Chrome or Edge on a computer. On other browsers, take a screenshot and use the Precision Color Picker.

Open Image Color Picker
Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed Color Picker and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 11 November 2026

Answers and guidanceFrequently Asked Questions
Is the Color Picker free?
Yes, with no sign-up and no limits.
How do I find the HEX code of a colour on my screen?
In Chrome or Edge on a computer, click Pick from screen and then click the colour. The HEX code and all other formats appear instantly.
Why don’t I see Pick from screen?
The eyedropper uses a browser feature available in Chrome and Edge on desktop. Other browsers do not offer it yet.
What is the difference between HEX and RGB?
They describe the same colour. HEX writes the red, green and blue values in base 16 (#1E90FF); RGB writes them as numbers from 0 to 255 (30, 144, 255).
What is HSL?
Hue, saturation and lightness. It is easier to adjust by hand: change lightness to make a colour lighter or darker.
Are the CMYK values exact?
They are a mathematical conversion. Real print colours depend on the printer, ink and paper, so treat them as a starting point.
What does the contrast ratio mean?
It compares how light the colour is against white or black. WCAG AA needs 4.5:1 for normal text and 3:1 for large text; AAA needs 7:1.
Can I type a short HEX code?
Yes. #19f is treated as #1199FF, and the hash is optional.
What are tints and shades?
Tints are the colour mixed with white, shades the colour mixed with black. Click any of them to use it.
Does it work on mobile?
Yes. Everything except Pick from screen works in mobile browsers.
Is anything uploaded?
No. All colour values are calculated in your browser.
What is RGBA?
RGB plus an alpha value for transparency, from 0 (invisible) to 1 (solid).
More tools for your workflowRelated Tools

Color Converter

Convert colours between HEX, RGB, HSL, HSV, CMYK and CSS names, with transparency, sliders, a contrast check and tints and shades.

Color Palette Extractor

Find the main colours of a photo, logo or screenshot, with their share of the picture. Tap to pick more. HEX, RGB and HSL, text contrast, and code for CSS, SCSS, Tailwind or JSON.

Image Color Picker

Pick any colour from an image and get its HEX, RGB, HSL and CMYK codes. Zoom in with a magnifier, keep a list of picked colours and see the image’s main colours.

CSS Box Shadow Generator

Design CSS box shadows with up to six layers, presets (soft, layered, retro, glow, neumorphic), inset shadows and Tailwind output.

1 / 3
Browse all developer tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.