Get the exact color code from any image
Designers, developers and crafters often need to match a color they can see but cannot name: a brand color in a logo, the blue of a sky in a photo, or a button color in a screenshot. This tool reads the actual pixel value from your image, so you get the true color stored in the file rather than a guess. Each pick shows three common formats side by side, ready to copy into CSS, design software or a paint store's color matcher.
HEX, RGB and HSL explained
- HEX (for example
#1E88E5) is the six-digit code used most often in web design, CSS and tools like Figma or Canva. Each pair of digits is the amount of red, green and blue from 00 to FF. - RGB (for example
rgb(30, 136, 229)) gives the same three amounts as numbers from 0 to 255. Many apps and programming languages use this form. - HSL (for example
hsl(208, 79%, 51%)) describes the hue on a 360° color wheel, plus saturation and lightness as percentages. It makes it easy to create lighter, darker or softer versions of a color.
If the pixel is partly transparent, such as at the soft edge of a PNG logo, the tool adds the transparency as an alpha value: an eight-digit HEX code, rgba() and hsla().
Picking the right pixel
Photos are rarely one flat color. Shadows, highlights, compression and noise mean neighboring pixels can differ a lot. The magnifier shows an enlarged 11 × 11 pixel area with the center pixel outlined, so you can see exactly what you are about to pick. On a phone, place your finger on the image, slide it until the loupe is centered on the spot, then lift your finger. Pick a few spots and compare them in the recent colors row to find the one that represents the area best.
The top 5 colors palette
When an image loads, the tool groups similar colors together and lists the five that cover the largest share of the picture, with a rough percentage for each. It is a quick way to pull a color scheme from a mood board photo, check which colors dominate a product shot, or start a palette for a website. Transparent pixels are ignored. Because similar shades are merged, the percentages are approximate.
Private and accurate
The image is read with your browser's canvas and never leaves your device. Colors come straight from the decoded pixels, at full resolution, even when the preview on screen is smaller. Note that some browsers convert images with a wide color profile, such as Display P3 photos from newer phones, into standard sRGB for display, so a value can differ slightly from what a professional photo editor reports. Need to prepare the image first? The image cropper and image resizer run in your browser too.