Get Colors from a Photo

See a photo's main colors and their color codes.

💡Open in Chrome or Edge. Phones work too!

1Choose a photo

Choose a photo
Tap to choose (or drag a file here on a computer)

Last updated:

Video guide on YouTube

To get the color codes from a photo, just add it to this page: the main colors appear from most to least, each with its HEX, RGB and HSL code and how much of the photo it covers. Tap the photo to check the color of any spot, and tap a color to copy its code. Your photo is never uploaded, and there’s no sign-up, no watermark and no limit — always free.

✅ What it can do⚠️ What it can't do / notes
  • Show the photo’s main colors — 5, 6 or 8 — from most to least
  • Give each color’s HEX, RGB and HSL code and its % of the photo
  • Copy a HEX code with one tap, or all codes at once with “Copy all codes”
  • Check the color of any spot you tap (slide your finger for a magnifier)
  • Save a palette image (PNG) with color samples and codes
  • Check many photos at once (one photo at a time — your checked colors stay when you switch)
  • Give print codes such as CMYK or Pantone, or color names
  • Use color spaces other than sRGB (Display P3 photos, e.g. from iPhones, are converted)
  • Read 1–2 pixel details exactly (big photos are read from a copy with a 2048 px long side, so tiny spots blend a little)
  • Read HEIC in every browser (convert first with HEIC to JPG)

How do I find the color code of a photo? 4 easy steps

  1. Choose a photo. Tap “Choose a photo”. On a computer you can also drag it onto the page. JPG, PNG, WebP and similar files work.
  2. See the main colors. Under “Main colors”, colors are listed from most to least. The striped bar on top shows at a glance how much of each color there is. Switch between 5, 6 and 8 with “Number of colors”.
  3. Tap the photo to check a color. In “Tap to check a color”, tap the photo and the color at that spot is added to “Checked colors”. Slide your finger and a magnifier appears — the color where you lift your finger is used. On a computer, click, or hold and drag for the magnifier.
  4. Copy or save. Tap a color to copy its HEX code, or use “Copy all codes” to copy them all as “#AABBCC, #DDEEFF”. To keep a visual reference, press “Make palette image”, then “Save” to download the PNG.

Common snag: a bright color that only appears in a tiny part of the photo may be merged into a bigger, similar group, so it doesn’t show up as a main color. Just tap that spot in the photo to check it. If you see “This photo has only a few colors, so … were found”, the image simply doesn’t have that many different colors.

When is a photo color picker handy?

  • Social posts and blog graphics: pick text and background colors that match the mood of your photo, then paste the HEX straight into your design app.
  • Drawing and illustration: grab sky, skin or leaf colors from a reference photo. Note your character’s colors and every drawing stays consistent. Making LINE stickers? Size the finished art with LINE Sticker Resizer.
  • Home decor and crafts: record the colors of a room or fabric you love. A saved palette image makes it easy to compare later (screen colors can look a bit different from real paint or cloth).
  • Websites and slides: find the exact code of a logo or a screenshot color by tapping it.

If you use someone else’s photo or artwork, please make sure you’re allowed to.

Why are the colors slightly off? Tips for accurate results

  • Choosing the number of colors: 5 gives the overall impression, 8 brings out smaller colors. Switching is instant (0.06–0.16 s in our test below), so compare a few.
  • Main colors are group averages: the colors of a smaller copy of the photo are split into groups of similar colors, based on how close they look to the eye (a method called k-means), and each group’s average is shown. So the exact same pixel may not exist in the photo. For the true color of one spot, tap it. The same photo with the same number of colors always gives the same result.
  • Tap a few spots on JPGs: in JPG photos, pixels that look identical can differ slightly one by one. For a large area, tap a few places or use the main color (an average), which is more stable.
  • Use the magnifier for thin lines: slide your finger to bring up the magnifier and lift it right on target. Big photos are read from a copy with a 2048 px long side, so 1–2 pixel details blend a little with their neighbors.
  • Collect colors from several photos: your “Checked colors” stay even after you switch photos with “Other file”, so you can gather one color from each photo into a single palette.
  • Codes are sRGB: codes are standard web colors (sRGB). Wide-color photos (Display P3) are converted to sRGB. That’s right for websites and most apps, but there’s no CMYK for print.

Which Ikalab tools can use the colors you found?

  • Start with HEIC to JPG for iPhone photos: some browsers can’t read HEIC, so convert to JPG first.
  • Use them as text colors in Add Text to Photos: text in a color taken from the photo blends in naturally, and it works for the outline color too. The “+” button lets you make any color, and on Chrome or Edge on a computer the color window usually lets you type in the HEX you copied.
  • Use them as the border color in Fit Photos Without Cropping: set “Any color” to a color from the photo (the sky, a shirt) for a matching look.
  • Fix colors first with Adjust Photo Brightness & Color: if indoor lighting made the photo yellowish, correct the color temperature first, then check colors to get codes closer to the real thing.

We tested it: how fast on a 12 MP photo?

FileUntil colors appearSwitching 5 / 6 / 8 colors
JPG 4032×3024 (12 MP), 1.8 MBabout 0.38–0.40 sabout 0.06–0.13 s
JPG 4000×3000, 2.1 MBabout 0.26–0.40 sabout 0.07–0.15 s
WebP 4000×3000, 446 KBabout 0.30–0.38 sabout 0.06–0.16 s

We timed it in Chrome on our test computer (a 2-core CPU), from choosing the file until the main colors appeared. Even 12 MP photos showed their colors in about 0.4 seconds. A palette image with 3 main colors and 1 checked color took about 0.58 s after pressing “Make palette image”, giving a 1200×796 PNG of 52 KB. Phones and other computers can be faster or slower (we haven’t measured on real iPhones or Android phones yet).

Can I pick colors from a photo without uploading it?

Yes! Ikalab’s Get Colors from a Photo works only inside this page, in your browser, so your photo is never sent anywhere. Family photos and unreleased designs stay with you. With no upload to wait for, the colors appear as soon as you add the photo, and every tap shows its color right away.

The sign-ups, watermarks and “X uses per day” limits you often see on other sites don’t exist here. It’s always free, with no sign-up, no watermark and no limit on uses.

An honest note: open it in Chrome or Edge (phones work too). Colors are given in sRGB, so they may look a little different from printed colors. On some phones, it may take a bit longer.

FAQ

How are the main colors chosen?

The colors of a smaller copy of the photo are split into groups of similar colors (a method called k-means), and each group’s average color is shown. Grouping follows how close colors look to the eye, so the result matches your first impression. The % is the share of the photo in that group. A bright color that only appears in a tiny spot may be merged into a nearby group — in that case, tap the photo to check that spot.

Why is a tapped color a little different from other apps?

For big photos, colors are read from a copy shrunk so the long side is 2048 pixels, so a color can be slightly mixed with its neighbors. Colors are given in sRGB (standard web colors), so wide-color photos (Display P3, e.g. from iPhones) are converted to sRGB. In JPG photos, pixels that look the same can differ a little one by one.

How can I keep the colors I found?

Tap a color to copy its HEX code, or use “Copy all codes” to copy them all at once, like “#aabbcc, #ddeeff”, ready to paste into notes or design apps. “Make palette image” also saves a PNG with the color samples and codes. If you switch to another photo, your checked colors stay in the list.

Can I use iPhone photos (HEIC)?

If your browser can open HEIC (like Safari on iPhone), it works as is. If not, turn it into a JPG first with “HEIC to JPG”. JPG, PNG, WebP and similar files work as they are.

More free tools from Ikalab

Video CutterVideo CutterCut, join and add music to videos.Compress Video to a SizeCompress Video to a SizeType a size like “20 MB” and the video fits under it.Crop & Resize VideoCrop & Resize VideoCrop any part, or turn a wide video vertical (9:16).Vertical Video MakerVertical Video MakerTurn a wide video into a vertical one for Shorts.Save Frames from VideoSave Frames from VideoStep frame by frame and save the exact moment you want.Long Exposure Photo from VideoLong Exposure Photo from VideoTurn a video into a light-trail or silky-water photo.Strobe Motion Photo & VideoStrobe Motion Photo & VideoShow a moving person many times in one picture.Video SplitterVideo SplitterCut a long video into equal parts or N-second clips.Mute or Replace AudioMute or Replace AudioRemove a video's sound or swap in your own music.MOV to MP4MOV to MP4Turn iPhone videos into MP4s that play anywhere.Silence CutterSilence CutterFind and cut the silent gaps for a snappier pace.Change Video SpeedChange Video SpeedSpeed up or slow down a video, voices keep their pitch.Rotate & Flip VideoRotate & Flip VideoFix a sideways video or a mirrored selfie video.Fix Audio SyncFix Audio SyncLips and voice out of sync? Slide the sound to match.Video to GIFVideo to GIFTurn your favorite part of a video into a moving GIF.Reverse & Boomerang VideoReverse & Boomerang VideoPlay a video backwards or as a back-and-forth loop.VHS Retro Video EffectVHS Retro Video EffectMake videos and photos look like old videotape.Blur Part of a VideoBlur Part of a VideoHide faces or plates in a video with blur or pixels.Moving Mosaic & Blur (Frame by Frame)Moving Mosaic & Blur (Frame by Frame)A mosaic you move to follow faces and plates in videos.Photo Slideshow VideoPhoto Slideshow VideoTurn your photos into a gentle video with music.Stop Motion MakerStop Motion MakerShoot frame by frame and make a flip-book video or GIF.Animated Sticker MakerAnimated Sticker MakerMake LINE and WhatsApp animated stickers from a video.Audio to VideoAudio to VideoAdd a picture to your audio and make an MP4 video.Scrolling Text MakerScrolling Text MakerTurn your text into an LED-sign style scrolling video.Wave Phone Text in the AirWave Phone Text in the AirWave your phone and long text appears in the air.Video to MP3Video to MP3Keep just the sound of a video as an MP3 file.M4A to MP3M4A to MP3Turn voice memos and M4A music into MP3 for any device.MP3 CutterMP3 CutterCut out just the part you like, same sound quality.Volume BoosterVolume BoosterMake quiet recordings louder without distortion.Remove Background NoiseRemove Background NoiseCut the hiss and hum in recordings and videos.Swap Left & Right AudioSwap Left & Right AudioFix audio that's reversed or only in one ear.Join Audio FilesJoin Audio FilesJoin voice memos and MP3s into one MP3, in any order.Any Audio to MP3Any Audio to MP3Turn voice notes, WAV, OGG or video sound into MP3.MP3 to WAVMP3 to WAVTurn MP3, M4A or video sound into WAV for editing.Sped Up & Slowed + ReverbSped Up & Slowed + ReverbMake that TikTok sped-up or slowed + reverb sound.Practice PlayerPractice PlayerChange the speed, keep the pitch, and loop any part.BPM FinderBPM FinderFind the tempo of any song or video automatically.Tone GeneratorTone GeneratorPlay any frequency, always starting quietly.Voice ChangerVoice ChangerMake your voice higher, lower, robotic or echoey.WebP to JPGWebP to JPGTurn WebP images into JPGs that open anywhere.Compress Images to a SizeCompress Images to a SizeMake JPGs under the file size you need, like 200 KB.Resize ImagesResize ImagesMake images smaller or bigger in pixels, many at once.Crop ImagesCrop ImagesKeep just the part you want, same frame for all images.HEIC to JPGHEIC to JPGTurn iPhone photos into JPGs that open anywhere.JFIF to JPGJFIF to JPGTurn .jfif images into normal .jpg files, same quality.Remove Location from PhotosRemove Location from PhotosRemove hidden location and date info from your photos.Black & White and Sepia PhotosBlack & White and Sepia PhotosTurn photos black & white or sepia, many at once.Adjust Photo Brightness & ColorAdjust Photo Brightness & ColorBrighten dark photos and make the colors pop.Blur or Pixelate Part of an ImageBlur or Pixelate Part of an ImageHide faces, plates or names by drawing a box over them.Photo to Pixel ArtPhoto to Pixel ArtTurn a photo into retro game-style pixel art.Photo Collage MakerPhoto Collage MakerPut 2 to 20 photos together into one picture.Add Text to PhotosAdd Text to PhotosAdd easy-to-read outlined text anywhere on photos.Arrows, Measurements & Labels on PhotosArrows, Measurements & Labels on PhotosDraw arrows, sizes and labels on photos with a finger.Date & Time Stamp on PhotosDate & Time Stamp on PhotosStamp each photo with the real date it was taken.Film Photo FilterFilm Photo FilterGive photos the warm colors and grain of old film.Tilt-Shift Miniature PhotoTilt-Shift Miniature PhotoMake real city scenes look like a tiny model.Fisheye Lens PhotoFisheye Lens PhotoMake the middle of a photo bulge like a fisheye lens.Portrait Background BlurPortrait Background BlurPaint what stays sharp and softly blur the background.Color SplashColor SplashGo black and white, keeping color only where you paint.Instant Photo FrameInstant Photo FrameTurn photos into instant-photo style white-frame cards.Photo Frame with Camera InfoPhoto Frame with Camera InfoAdd a frame with camera, f-number and ISO under photos.ID Photos on One PrintID Photos on One PrintMake a printable sheet of ID photos from one photo.Fit Photos Without CroppingFit Photos Without CroppingAdd borders so the whole photo fits Instagram sizes.Blurred Background FitBlurred Background FitPut a wide photo on its own blurred copy, Story size.Round Icon Without CroppingRound Icon Without CroppingFit the whole photo in a circle for a profile picture.Stitch ScreenshotsStitch ScreenshotsJoin chat screenshots into one long image.Photo Grid SplitterPhoto Grid SplitterSplit one photo into tiles for a big Instagram picture.LINE Sticker ResizerLINE Sticker ResizerFit your sticker art to LINE's rules automatically.Photos to GIF MakerPhotos to GIF MakerJoin a few photos into a looping flip-book GIF.Cross-Stitch & Fuse Bead Pattern MakerCross-Stitch & Fuse Bead Pattern MakerTurn a photo into a printable stitch or bead pattern.Drawing Grid MakerDrawing Grid MakerLay a grid over a photo to copy it in proportion.Screenshot to Phone MockupScreenshot to Phone MockupPut screenshots in a phone frame for app promo images.Gradient Wallpaper MakerGradient Wallpaper MakerMake soft gradient wallpapers for phone and computer.Print at Actual Size & Poster SplitPrint at Actual Size & Poster SplitPrint at an exact size, or split into a big poster.PNG ⇄ JPG ConverterPNG ⇄ JPG ConverterSwitch PNG and JPG without black backgrounds.Watermark PhotosWatermark PhotosPut your name or logo on many photos at once.Image to PDFImage to PDFTurn photos and screenshots into one PDF, in any order.PDF to JPGPDF to JPGTurn every page of a PDF into its own JPG image.Document Scanner (Straighten Photos)Document Scanner (Straighten Photos)Straighten angled photos of documents into clean scans.Merge PDFMerge PDFCombine several PDFs into one, in the order you want.Delete, split & organize PDF pagesDelete, split & organize PDF pagesReorder, delete, rotate or split PDF pages, all in one.Add Page Numbers to PDFAdd Page Numbers to PDFPut numbers like “1 / 10” on every page of a PDF.PDF 2-up & 4-upPDF 2-up & 4-upPut 2 or 4 pages on one sheet and save on printing.Watermark PDFWatermark PDFAdd faint diagonal text like “SAMPLE” to every page.Sign a PDFSign a PDFAdd a finger-drawn signature or seal image to a PDF.Fill in a PDFFill in a PDFType text, ✓ or today's date into a PDF form.Redact PDFRedact PDFBlack out text so it's truly gone from the file.Add a password to PDFAdd a password to PDFLock a PDF so only those with the password can open it.Remove PDF passwordRemove PDF passwordStop retyping a PDF password you already know.Compress PDFCompress PDFShrink PDFs that are full of photos or scans.PDF to HTMLPDF to HTMLTurn a PDF into a single HTML file.
See all tools →