Need the exact colour of a logo, a screenshot, or a photo? This eyedropper loads any image into your browser and lets you click a pixel to read its precise colour in three formats at once — HEX, RGB and HSL.
How it works
The image is drawn onto an HTML <canvas>. When you click, the tool reads the
single pixel under the cursor with getImageData and converts the raw RGB
channels into each format:
HEX : #6D8BFF
RGB : rgb(109, 139, 255)
HSL : hsl(227, 100%, 71%)
Because everything happens on the canvas locally, the image never leaves your device — there is no upload and nothing is stored.
Tips for accurate sampling
- Large images are scaled to fit; for pixel-exact sampling on huge files, crop to the region you care about first.
- Anti-aliased edges blend two colours together, so click the solid interior of a shape rather than its border to get the intended colour.
- Use the HSL output when you need to build a tint/shade scale — hue and lightness are far easier to reason about than raw hex.