Get colors from any image!
Drop any image to get its colors with hex codes, or pick the exact color of any spot. Free, in your browser, and your picture never leaves your device.
Drop an image here
JPG, PNG, WebP, GIF and more. Or paste one with Ctrl V.
Your image stays in this browser tab. It is never uploaded or sent anywhere.
Examples
Harmonious colors from images
Click a color to copy its hex code. Each picture shows every color the extractor found in it, up to 50, arranged by hue. Open a picture in the extractor to see colors from image at work.
In 3 steps
Colors from image in three steps
Add a picture
Drop an image on the page, paste it with Ctrl+V, or choose a file. JPG, PNG, WebP, GIF, AVIF, BMP and SVG all work.
Choose how many colors
By default you get up to 50 colors, fewer if your picture has fewer, from deep shadows to pale highlights. Lower the number in Options for a tighter palette.
Copy what you need
Click a color to copy its hex code, copy the whole palette, or export it as CSS, Tailwind or JSON. Open the picker for one exact spot.
Five tools in one
One page for every way people look for colors
Whether you call it a color picker, a color finder, an extractor or a palette generator, you start the same way: add a picture.
-
Color picker from image
Open the picker, click any spot and read its exact hex code, RGB value and nearest CSS color name. A simple image pick color tool, with nothing to install.
-
Color finder from picture
Not sure what color something is? Add its photo, point at it and read the hex code. It works as a color identifier from image for flowers, fabric, art or a logo.
-
Color palette from image
Get a whole palette in one go: the main colors, the highlights and the shadows, with the share of the picture each one covers.
-
Color scheme from photo
Turn a photo into a color scheme for a brand, a website, a room or an outfit, arranged dark to light or grouped by hue.
-
Color extractor and matcher
Pull every main color out of a picture and match it with the colors in your own design. Copy the hex codes straight into your tools.
Use cases
What people use colors from image for
-
Brand and logo design
Start a brand palette from a photo that feels right: a product, a place, a piece of art. Take the colors straight from it.
-
Websites and apps
Build a color scheme from a hero photo, then export CSS variables or a Tailwind theme and drop them into your project.
-
Interior and paint
Pull a palette from a room photo or a mood picture to choose paint, fabric and furniture that belong together.
-
Fashion and outfits
Find the colors in a favorite scarf, print or street photo, then plan clothes that match them.
-
Illustration and art
Learn from artwork you love by seeing its colors side by side, then paint with a palette taken from it.
-
Photography and mood boards
Check the color story of a shoot, or build a mood board where every picture shares one palette.
-
Slides, posts and video
Match your colors to a photo so your slides, social posts and thumbnails look made for each other.
-
Classrooms, crafts and hobbies
Choose yarn, beads or game assets, or show students what a picture is really made of.
Under the hood
How the colors are found
The tool reads your picture inside your browser and counts how much of each color it holds. It groups similar colors the way the eye sees them, using the OKLab color space, then picks the biggest group first. After that it keeps adding the color that stands out most from the ones already chosen, so a small red flag is not lost behind a big blue sky. It also keeps your picture’s real highlights and shadows, and from six colors up its lightest near-gray.
Each palette color is the typical color of a region, so it stands for an area rather than one pixel. That is what you want for a palette. When you need one exact spot, such as a logo or a petal, open the picker and click it.
Better results
Tips for better colors from an image
- Crop to what matters first. A tight photo of the object gives you the colors of the object, not of the room around it.
- Start with the full range, up to 50 colors. Then lower the number in Options, to 12 or even 5, for a tight palette.
- For big palettes, choose By hue: grays first, then each color family from dark to light.
- Use the picker for one exact spot, and the palette for the overall feel.
- Colors on a screen change with the screen and the light in the photo. For paint or fabric, confirm with a physical sample.
- Try several pictures. The same place at dawn and at dusk gives two very different palettes.
FAQ
Colors from image: your questions answered
How do I get colors from an image?
Drop the image onto the page, paste it with Ctrl+V (Cmd+V on a Mac), or press Choose image and pick a file. The colors appear right away, each with its hex code. Use Options to change how many colors you want, from 1 to 50 (you start with up to 50), and to arrange them dark to light, by hue or by how much of the picture they cover. Click a color to copy it.
How do I pick a color from an image?
After you add a picture, press the picker button in the toolbar (or the P key). Your picture opens large. Move over it and the color under the cursor is shown with its hex code, RGB value and nearest CSS color name; click to pick it and copy the hex code. Arrow keys move the target and Enter picks. Every color you pick is kept in a tray at the bottom so you can copy them all.
How can I find the color of something from its picture?
Add a photo, open the picker and click the thing. You get its hex code, RGB value and the nearest CSS color name, which works as a quick color identifier from image. A photo shows a color as the light and the camera recorded it, so use this to find a close color. For paint, fabric or print, check with a physical sample before you buy.
What is the difference between the palette and the picker?
The palette finds the main colors of the whole picture and tells you how much of it each one covers. The picker reads exactly one spot that you choose. Use the palette for the overall color scheme and the picker for a specific color, such as a logo, a petal or a button.
How do I create a color palette from a photo?
Add the photo and choose how many colors you want. You start with the full range, up to 50 colors, and lower it in Options: eight to twelve suit most brands, websites and rooms. The palette is shown as full-height strips for 12 or fewer, and as a tidy grid for more. Then copy single colors, copy them all, or press Export for CSS variables, a Tailwind theme, JSON or a plain list of hex codes.
Is my image uploaded to a server?
No. Your browser reads the file, draws a small copy of it on a hidden canvas in the page and works out the colors there. Nothing is sent anywhere, and the site’s security policy only lets the page talk to its own server. The image is not saved either: it is gone when you close or reload the tab.
Which image types does it support?
JPG and JPEG, PNG, WebP, GIF (the first frame), AVIF, BMP and SVG, and anything else your browser can show as a picture. iPhone photos in HEIC format open only in browsers that can display them, mainly Safari; if yours cannot, export the photo as a JPG first. Files up to 50 MB are accepted.
Why is a palette color not exactly the color I see in one spot?
Each palette color is an average of a whole region, so it can differ from a single pixel, especially in pictures with grain, texture or halftone dots. If you want one exact spot, use the picker. If you want more detail in the palette, raise the number of colors.
Why does the palette include a cream or gray instead of pure white?
The tool reports the real colors of your picture and never invents one. The palette always includes the real highlights (the average of the lightest 1% and of the very lightest 0.15% of the picture) and, from six colors up, the lightest near-gray. If the lightest parts of your picture are warm cream, the palette shows warm cream, because that is what the pixels hold.
What do the percentages mean?
Each percentage is the share of the visible picture that the color stands for. They add up to 100%. Fully transparent parts of an image are ignored, so a logo on a transparent background gives you the colors of the logo, not of the empty space.
Can I use it as a colour picker, color extractor or color matcher?
Yes. People search for this tool under many names: colour picker from image, color finder from picture, color extractor, color identifier, palette maker, color scheme generator from image. They all mean the same job, and this page does all of it: pick a color at a spot, extract the main colors, and match them to your design with hex codes.
Can I share a palette I made?
Yes. Press the share button to copy a link. The link holds only the hex codes of the colors, not your image, so whoever opens it sees the same palette and nothing from your picture.
Does it work on a phone?
Yes. Tap Choose image to pick a photo from your gallery or take a new one. Big photos are fast, because the page works from a smaller sample of the picture. On a narrow screen the colors stack as rows, and you can tap a row to copy its hex code. The picker works with your finger too.
What if I do not have a picture to start from?
Try one of the example illustrations on this page, or use the color palettes generator: press the spacebar, or pick one color, and it builds a harmonious palette for you. The color wheel page shows complementary, analogous, triadic and monochromatic schemes for any color.
More color tools
- Harmonious color palettes generatorPress the spacebar for a palette that works together.
- WCAG Contrast CheckerCheck text and background colors against WCAG AA and AAA.
- Color ConverterConvert HEX, RGB, HSL, HSB, CMYK and OKLCH colors.
- CSS clamp() CalculatorBuild fluid font sizes and spacing with clamp().
- QR Code GeneratorMake QR codes for links, text and Wi-Fi: download PNG or SVG.
Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.
How we keep it that way