ImageColor Picker

Upload an image, then hover and click to grab exact colors. The tool also pulls out the six main colors so you can build a palette from a photo.

  • Free forever
  • No sign-up
  • Runs in your browser

Your image

Hover to preview a color, click to keep it. The image never leaves your device.

Palette

The six main colors, biggest share first. Click one to copy it.

    Loading the image…

    As CSS variables

    Your result shows up here.

    Picked colors

    Your last eight clicks.

    Click anywhere on the image to pick its color.

    Photos have noise, so pixels next to each other can differ a little. Pick from flat areas for brand colors, and check text colors with a contrast checker before you use them.

    How to use the Image Color Picker

    1. 1

      Upload a photo, logo or screenshot, or try the sample.

    2. 2

      Hover over the image to preview colors.

    3. 3

      Click to keep a color, then copy its HEX or RGB.

    4. 4

      Copy the six-color palette or its CSS variables.

    Picking an exact color from an image

    Hover anywhere on the picture and a small chip shows the color under your pointer. Click to add it to your picked colors, where you can copy it as HEX or RGB. Your last eight picks stay in the list, so you can grab a few and compare.

    Photos have grain, shadows and compression, so two pixels side by side are often a little different. For a logo or brand color, click in the middle of a flat area, not on an edge where colors blend.

    How the palette is made

    The tool shrinks a copy of your image to about 10,000 pixels and groups similar colors with k-means clustering, a common method that finds the six colors that best stand for the whole picture. Each swatch shows its share of the image, biggest first.

    It always starts from the same points, so the same image gives the same palette every time. Very small details, like a red logo on a big blue sky, may not get their own swatch. Use the picker for those.

    Ways to use a palette from a photo

    Before you use a color for text, check it against its background with a contrast checker. Soft colors from photos often look lovely as backgrounds but are too light for body text.

    • Match your profile, link page and highlights to a favorite photo.
    • Pull brand colors from a product shot or packaging.
    • Pick text and button colors that suit a header image.
    • Recreate a mood board's colors in Canva or Figma.

    Your images stay private

    Everything happens in your browser. The image is drawn on a canvas on your device and is never uploaded, so you can safely use client work, unreleased products or personal photos.

    Turning picked colors into a brand palette

    A good small palette has one main color, one or two supporting colors, a light background and a dark color for text. Start with the biggest swatches from your photo, then adjust them: photo colors are often a little dull, so you may want to raise the saturation slightly for buttons and links.

    Copy the CSS variables to drop the palette straight into a stylesheet, or paste the HEX codes into Canva's brand kit or Figma's color styles. Write the codes down somewhere safe so every post, page and print job uses the same colors.

    Frequently asked questions

    How do I find the HEX code of a color in a picture?

    Upload the picture, hover over the color you want and click. The HEX code appears in your picked colors with a Copy button.

    Why is the picked color slightly different from what I expected?

    Photos have noise and compression, so nearby pixels vary. Click a flat, evenly lit area, or use the palette, which averages similar pixels.

    Is my image uploaded to a server?

    No. The image is read and drawn in your browser and never leaves your device.

    Which image formats work?

    Any image your browser can open: JPG, PNG, WebP, GIF and SVG, and HEIC in Safari. Transparent areas are skipped when making the palette.

    Embed this tool on your site

    Want the Image Color Picker on your own page? Copy the embed code and paste it where you want it to show up.

    • Free to use on your blog or site, with no account.
    • It sizes itself to fit and works on phones.
    • Keep the credit line so readers know where it's from.
    your-site.com/blog

    Free Image Color Picker by Hiyaly

    Put it allon one link.