Color Picker & Converter
Choose a colour with the picker, type any HEX, RGB or HSL value, or click on an uploaded image to sample a pixel. Contrast ratios help you pick accessible text colours.
Sample a colour from an image
Runs entirely in your browser. Your input and files are not uploaded to any server.
How to use
- Use the colour input, type a value, or open an image and click a pixel.
- Read the HEX, RGB and HSL values and copy the one you need.
- Check the WCAG contrast ratio with white and black text.
Examples
Open the logo image and click on the coloured area to get its HEX code.
If contrast with white is below 4.5:1, use dark text or darken the colour.
Privacy
Runs entirely in your browser. Your input and files are not uploaded to any server. See the privacy policy for what is stored in your browser (favorites and history only). Privacy policy
Check it yourself: open your browser’s developer tools, select the Network tab and use the tool. Your file never appears in an upload request. Once this page is saved for offline use, you can also disconnect from the internet and keep working. Ads and anonymous visit statistics, when enabled, make their own requests, but they never receive your files or text.
Frequently asked questions
What is the screen eyedropper?
Some browsers (Chrome and Edge on desktop) provide an EyeDropper that can sample any pixel on your screen. The button appears only where it is supported.
Why can sampled colours differ slightly?
JPG compression and colour profiles can shift pixel values. Sample a flat area rather than an edge.