Hex Code Finder - Pick Colors from Any Image
Upload, drop, or paste an image. Inspect pixels and copy color values. Use a 1x1 sample or average a larger area. Processing stays in your browser.
How to Use Hex Code Finder
- Choose, drop, or paste an image. You can also load the sample image.
- Hover or touch the image. Zoom or change the sampling area when needed.
- Select a color, copy a value, or choose a color from the history or palette.
Features
- Private image input. Choose, drop, or paste an image. Processing stays in your browser and requires no account or installation.
- Pixel sampling. Inspect pixels with a loupe, pixel grid, rulers, and coordinates. Sample one pixel with 1x1 or average a 3x3, 5x5, or 7x7 area. Area samples account for alpha.
- Image navigation. Zoom from 25% to 3200% with controls or the mouse wheel. Pan with the mouse, reduce the working resolution, or use arrow keys for pixel movement. Select with Enter or Space.
- Mobile controls. Drag one finger to inspect and lift to select. Drag two fingers to pan or pinch to zoom. Selection feedback confirms success.
- Color formats. Copy HEX, RGB, HSL, OKLAB, OKLCH, CMYK, LCH, or RGB 0-1. Formats with alpha support preserve transparency.
- History and palettes. Reuse recent selections or extract a palette and set its color count.
Frequently Asked Questions
Is my image uploaded?
No. Your browser decodes and processes the selected file locally. The app does not send it to a server.
Which image file types can I open?
The app opens image files that your browser can decode. Format support depends on the browser.
Should I sample one pixel or average an area?
Use 1x1 for one decoded pixel. Use 3x3, 5x5, or 7x7 to average nearby pixels. Averaging reduces variation from anti-aliasing, compression, and texture.
Can Hex Code Finder detect transparent colors?
Yes. The selected HEX value includes alpha when present. Other formats include alpha when they support it. Area samples account for transparent pixels.
How is the color palette generated?
The app analyzes a reduced copy of the image, skips fully transparent pixels, groups similar colors, and sorts them by pixel count. Change the palette count to regenerate it.
Can I use Hex Code Finder on a phone or tablet?
Yes. Use one finger to inspect and lift to select. Use two fingers to pan or pinch to zoom. A confirmation appears after selection.
How do I show more color formats?
Open Formats and select the values to show. Your choices persist in this browser.