Color picker
Pick a color and copy its HEX, RGB, HSL or CMYK code. This blue is #1F5BFF, rgb(31, 91, 255).
Free·No sign-up·Works offline after the first visit
How to use
- 1
1. Drag in the square to choose how light and vivid the color is; drag the slider to change the hue.
- 2
2. Or type a code in any field: HEX, RGB, HSL, HSV, CMYK or OKLCH. All the fields update together.
- 3
3. Tap a code to copy it. The picker shows the nearest color name and how the color reads on white and on black.
Color picker
Tints
Shades
Tones
Ten lighter and ten darker steps of the picked color, in even steps of lightness. Tap one to pick it, or copy its code.
The picker names the nearest color it knows, for example '≈ Goldenrod' for #DAA521, and links to that color's page when it has one.
#1F5BFF on white: 5.25:1 (passes AA for normal text). On black: 4.00:1 (passes AA for large text only). The badges update as you pick.
In Chrome and Edge on a computer, the Pick from screen button turns the pointer into an eye dropper: click anywhere on your screen, even outside the browser, to get that color's code. Other browsers hide the button; use the image color picker with a screenshot instead.
Your last 16 colors stay in a row under the picker, in this browser only. Tap one to pick it again.
How to pick a color
Start anywhere: drag the hue slider to the color family you want, then move the circle in the square. Left is grayer, right is more vivid; up is lighter, down is darker. If you already have a code from a brand guide, paste it into the HEX field. The picker also takes rgb(31, 91, 255), hsl(224, 100%, 56%) or a CSS name such as "teal". Tap Random when you want a surprise.
Every picked color shows its tints and shades, its nearest name and two contrast badges. That saves a trip to other tools: you can see at once whether white text will be readable on the color, or whether the color is too pale for a button.
HEX, RGB, HSL and CMYK in one minute
HEX and RGB are the same thing written two ways. #1F5BFF means 1F red, 5B green and FF blue in hexadecimal; rgb(31, 91, 255) gives the same amounts from 0 to 255. Use HEX in CSS, Figma and Canva. HSL (hue, saturation, lightness) is easier to adjust by hand: keep the hue, raise the lightness and you get a lighter version of the same color. CMYK is for print; the values here are a simple conversion without a printer profile, so ask your print shop for the final numbers. OKLCH is a modern CSS format that keeps lightness even, which helps when you build shades.
Pick a color from your screen
The eye dropper works in Chrome and Edge on Windows, macOS and Linux. Click Pick from screen, then click any pixel: a logo in another app, a photo, a website. The code appears in the picker and lands in your history. There is no extension to install. On phones and in Safari or Firefox, take a screenshot and open it in the image color picker, which has a magnifier for exact pixels.
Questions and answers
How do I use an eye dropper to get a color from my screen?
Click Pick from screen and then click any pixel. It works in Chrome and Edge on computers; on other browsers, take a screenshot and use the image color picker.
How do I find the hex code of a color?
Pick it in the square or paste another code, such as RGB, and the HEX field shows it. Tap the code to copy it.
Do I need a Chrome add-on for a color picker?
No. This picker runs in the page, and its screen eye dropper uses the browser's own feature.
Can I pick a random color?
Yes. Tap Random for a new color with all its codes.
Can I identify the name of a color?
The picker shows the nearest color name for any code, such as "≈ Goldenrod" for #DAA521.