Free · No sign-up · Runs in your browser

Free Color Picker.

Pick any color and get its HEX, RGB and HSL codes instantly — sample a color straight off your screen with the eyedropper, or dial one in by hand. Nothing here is ever uploaded. The screen eyedropper works only in Chrome, Edge, Opera and Brave; elsewhere, dial the colour in by hand.

Not uploaded — nobody sees it Live HEX/RGB/HSL codes Screen eyedropper No subscription or account
Choose a color
HEX
RGB
HSL
Shades & tints
Nothing here is ever uploaded — it’s all generated right in this browser tab, on your device. It never reaches a server, so we never see it, copy it or keep it.
At a glance

Color picker: quick facts

Pick any colour and get its HEX, RGB and HSL codes.

Updated

Price
Free, no sign-up, no limits.
Codes
HEX, RGB and HSL, converted as you type in any of them.
Eyedropper
Pick from anywhere on screen in Chrome, Edge, Opera and Brave.
Extras
Four tints and four shades of your colour, one click to switch.
Not included
CMYK print values.
How it works

How to find a colour’s HEX, RGB and HSL codes

Choose a colour, sample one from your screen with the eyedropper, or type in a code, and all three codes update together, with a row of lighter tints and darker shades to choose from.

  1. 01

    Pick a color

    Use the color wheel, the screen eyedropper, or type a HEX, RGB or HSL value directly.

  2. 02

    Read the codes

    HEX, RGB and HSL update instantly, ready to copy.

  3. 03

    Try a shade or tint

    Click any swatch in the row below to explore lighter and darker variants.

Tips

Tips for choosing and matching colours

Getting a colour code is quick; getting a colour that works everywhere takes a little more thought.

  • Match a colour from a logo or photoPick from screen reads the exact colour of any pixel you click, so you can match a brand colour from a logo or a shade from a photo. It works in Chrome, Edge and other Chromium-based browsers.
  • Check that text stays readableAccessibility guidelines (WCAG) ask for a contrast ratio of at least 4.5 to 1 between normal text and its background. If you’re unsure, pick a darker version from the shades row for text.
  • Use HSL for matching variationsHSL describes colour as hue, saturation and lightness. Keep the hue the same and change only the lightness to get lighter and darker versions that belong together, for buttons, borders and backgrounds.
  • Expect print to look differentScreens mix light while printers mix inks, so bright blues and greens often print duller than they look on screen. For printed brand colours, ask your printer for a proof first.

Like every Altto tool, this runs on your device — nothing you add is uploaded. How Altto works

16.8M

colours can be written as a six-digit HEX code, from 256 levels each of red, green and blue.

Example

One colour, every code — and which shades are readable

The picker opens on a bright blue. Here’s everything it gives you for that colour, and what happens when you put text on it.

HEX #4F7CFFRGB rgb(79, 124, 255)HSL hsl(225, 100%, 65%)

Below are the nine swatches from the picker’s Shades & tints row for this blue, with the contrast ratio of white and black text on each. Accessibility guidelines (WCAG) ask for at least 4.5:1 for normal text and 3:1 for large or bold text.

  • AaAa
    70% tint#CAD8FFWhite text 1.4:1 ✗Black text 14.8:1 ✓
  • AaAa
    50% tint#A7BEFFWhite text 1.8:1 ✗Black text 11.5:1 ✓
  • AaAa
    30% tint#84A3FFWhite text 2.4:1 ✗Black text 8.7:1 ✓
  • AaAa
    15% tint#6990FFWhite text 2.99:1 ✗Black text 7.0:1 ✓
  • AaAa
    Your colour#4F7CFFWhite text 3.7:1 large onlyBlack text 5.7:1 ✓
  • AaAa
    20% shade#3F63CCWhite text 5.4:1 ✓Black text 3.9:1 large only
  • AaAa
    40% shade#2F4A99White text 8.2:1 ✓Black text 2.6:1 ✗
  • AaAa
    60% shade#203266White text 12.3:1 ✓Black text 1.7:1 ✗
  • AaAa
    80% shade#101933White text 17.4:1 ✓Black text 1.2:1 ✗

So the starting blue is fine for black text (5.7:1) but too light for white text (3.7:1). One step darker, the 20% shade #3F63CC, takes white text to 5.4:1. That’s the quickest fix when a button or banner colour is hard to read: click a darker swatch and keep the same hue.

Contrast ratios for common colour pairs

Text and backgroundContrastNormal text
Aa Black on white21.00:1Passes (AAA)
Aa Dark grey #767676 on white4.54:1Passes
Aa Light grey #959595 on white3.00:1Fails
Aa White on bright red #FF00004.00:1Large text only
Aa White on darker red #D32F2F4.98:1Passes
Aa White on blue #0066CC5.57:1Passes
Aa White on green #12B8862.55:1Fails
Aa White on dark green #0B7A5A5.32:1Passes
Aa Black on gold #FFD70014.97:1Passes (AAA)
Aa Yellow on white1.07:1Fails

Ratios are worked out with the WCAG 2 formula. “Large text only” means at least 3:1, which is enough for text of about 24px, or 19px bold. #767676 is the lightest grey that still passes on white. The picker doesn’t show contrast itself, so use this table as a guide or a contrast checker for exact pairs.

Where to paste your code

  • Websites and CSS: paste the HEX with its # (color: #4F7CFF;) or the RGB value as it is.
  • Word and PowerPoint (Microsoft 365): Font Colour → More Colours → Custom, then the Hex box.
  • Google Docs and Slides: text colour → Custom → Hex.
  • Canva: click the colour tile, then + and type the code.

More apps, and ways to find the code of a colour you can see on screen, are in our guide to hex colour codes.

FAQ

Frequently asked questions

Common questions about colour codes and the eyedropper. To find the code of a colour you can see on screen, our guide on finding the hex code of any colour covers every method.

Is there a limit on how many colours I can pick?
No — pick or convert as many colours as you like. There's no daily limit and no sign-up.
Which browsers support the screen eyedropper?
The “Pick from screen” button uses the browser's native EyeDropper API, currently supported in Chromium-based browsers (Chrome, Edge, Opera, Brave). If your browser doesn't support it, the button stays hidden — you can still pick a color with the color wheel or by typing a HEX, RGB or HSL value directly.
How are the shades and tints generated?
Each swatch mixes your chosen color with white (for a tint) or black (for a shade) at a fixed ratio — a quick way to preview lighter and darker variants of the same base color. Click any swatch to switch to that color.
Can I type in a HEX, RGB or HSL value directly?
Yes — type into any of the three fields and the other two update automatically to match, so it also works as a HEX/RGB/HSL converter on its own.
What’s the difference between HEX and RGB?
They describe the same colour in two ways. RGB gives the amounts of red, green and blue as numbers from 0 to 255, and HEX writes those same three numbers in base 16, so rgb(255, 0, 0) and #FF0000 are both pure red. Websites accept either.
Can I get a CMYK value for printing?
Not here, as the tool gives screen codes: HEX, RGB and HSL. The right CMYK mix depends on the paper and the printing process, so a printer, or design software set up for print, will give you a more reliable value than a simple conversion.
How do I check if text on my colour will be readable?
Compare the contrast between the text colour and the background. Guidelines ask for at least 4.5:1 for normal text and 3:1 for large text. As a rule of thumb, light and bright colours need black text and dark colours need white; if white text looks faint, click one of the darker swatches in the Shades & tints row, which keeps the same hue but raises the contrast.
How do I get a lighter or darker version of a colour?
Use the Shades & tints row under the codes. The four swatches to the left of your colour mix it with 15%, 30%, 50% and 70% white; the four to the right mix it with 20%, 40%, 60% and 80% black. Click one to switch to it and copy its codes. In HSL, changing only the lightness number does a similar job.