Color Picker
Pick any colour with a visual picker, from your screen or from an image, and copy it as HEX, RGB, HSL, OKLCH and more.
This guide is not yet available in your language and is shown in English.
Tool guide
What this tool does
Color Picker combines a saturation and brightness area, hue and opacity sliders, a screen eyedropper and click-to-pick on uploaded images. Every pick is shown in all common notations with its contrast against white and black, and recent colours are remembered.
Designers and developers constantly need the exact code of a colour: the blue in a logo, the shade of a button in a screenshot, or a new accent that matches a photo. Operating system pickers rarely show modern CSS formats, and copying from a design app means opening a whole project.
This picker uses the HSV model that most design tools use: the large area sets saturation horizontally and brightness vertically, the slider below sets the hue, and the second slider sets opacity. In Chrome, Edge and Opera on desktop, Pick from screen uses the browser's EyeDropper API to sample any pixel on your display, including other windows. You can also drop an image and click a pixel. The result is converted with the culori colour library to HEX, RGB, HSL, HSV, HWB, CIELAB, LCH, OKLab, OKLCH, Display P3 and an approximate CMYK.
How to use Color Picker
- Drag in the colour area or use the arrow keys (hold Shift for bigger steps) to set saturation and brightness.
- Move the Hue slider to change the colour family and the Opacity slider for transparency.
- Or type any value into Colour value, press Pick from screen, or drop an image under Pick from an image and click a pixel.
- Check the On white and On black contrast ratios to see where the colour is readable.
- Copy the notation you need from the list; Save to recent keeps the colour in Recent colours.
Tips for better results
- Use OKLCH in modern CSS when you want to create lighter or darker variants by changing only the first number.
- A HEX value with eight digits, such as #4f46e580, includes opacity; 80 in hexadecimal is 128, about 50%.
- Screenshots of the same colour can differ slightly because of colour profiles and compression, so sample a flat area, not an edge.
- Contrast of at least 4.5:1 against the background is needed for normal-size text under WCAG AA.
Common use cases
- Grabbing a brand colour from a logo or website screenshot.
- Choosing an accent colour for CSS, Figma, Canva or slides.
- Converting a colour from a design hand-off into the format your codebase uses.
- Checking quickly whether a colour works as text on white or on black.
Common mistakes to avoid
- Sampling an anti-aliased edge or a JPEG artefact, which gives a blend instead of the real colour.
- Treating the CMYK value as print-ready: real print conversion depends on the press, paper and ICC profile.
- Forgetting that opacity changes how a colour looks; the same rgba value looks different over light and dark backgrounds.
Frequently asked questions
Why is Pick from screen missing?
It relies on the EyeDropper API, currently supported in Chromium-based desktop browsers such as Chrome, Edge and Opera. Firefox and Safari do not offer it yet, but you can still pick from an uploaded image.
What is the difference between HSL and HSV?
Both use hue, but HSV (also called HSB) measures brightness, where 100% is the most intense colour, while HSL measures lightness, where 100% is always white. The picker area uses HSV; CSS uses HSL.
Which format should I use in CSS?
HEX and rgb() work everywhere. hsl() is easier to tweak by hand. oklch() is supported by all current browsers and is perceptually uniform, so equal lightness steps look equal.
Are uploaded images sent anywhere?
No. The image is drawn on a canvas in your browser and only the pixel you click is read.
Feedback & suggestions
Help us improve Color Picker. We read every message.