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
Your files and text stay in your browser while you use this tool, and ads or anonymous visit statistics do not receive them. Only your favorites and recent tools are saved on your device. Privacy policy
Want proof? Check it with your browser’s Network tab: How to check that a tool does not upload your files
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.