Color Palette from Image
Find the main colours of a photo, logo or design. Each colour is shown with its HEX and RGB code and its share of the picture, ready to copy into your design tool or website.
How to use Color Palette from Image
- Drop or choose an image.
- Choose how many colours you want.
- Click "Extract colours", copy the codes and download the palette image.
Frequently asked questions
How are the colours chosen?
The image is reduced and its pixels are grouped by similarity (k-means clustering). Each group becomes one colour, sorted by how much of the picture it covers. Transparent pixels are ignored.
What are HEX and RGB?
Two ways of writing the same colour. HEX (e.g. #3B82F6) is used in web design and most design apps; RGB (e.g. rgb(59, 130, 246)) gives the red, green and blue values from 0 to 255.
Why do I get slightly different colours than I expected?
The palette shows averages of similar pixels, so tiny details may merge into a larger colour. Choose 12 colours for more detail. To remove a background first, use Remove Background.
Is my image uploaded?
No. The colours are calculated in your browser and your image never leaves your device.
Other tools
- Compress VideoShrink MP4, MOV and WebM videos for WhatsApp, email and Discord.
- Video ConverterConvert MOV, WebM and MKV videos to MP4, or the other way round.
- Trim VideoCut out the part of a video you need by choosing a start and end.
- Video to GIFTurn part of a video into an animated GIF.
- Video to MP3Extract the audio from a video as an MP3.
- Compress ImageMake JPG, PNG and WebP files much smaller without visible quality loss.
- Image to Text (OCR)Turn text in a photo or screenshot into copyable text.
- Remove Photo Metadata (EXIF)Delete GPS location, device and date info from photos before you share them.
- Crop ImageCrop photos freely or to square, 4:5, 16:9, or a round profile picture.
- Compress Image to KB (Under 100 KB)Shrink a photo below an exact size such as 50, 100 or 200 KB for online forms.
- Resize ImageChange the size of photos by percentage or exact pixels.
- Content-Aware ResizeChange the aspect ratio without stretching or cropping people and objects.
- Image ConverterConvert images between JPG, PNG and WebP in one click.
- HEIC to JPGOpen iPhone photos anywhere by converting HEIC to JPG.
- AVIF ConverterConvert JPG, PNG and WebP to AVIF, or AVIF to JPG and PNG.
- PNG/JPG to SVGConvert images, logos and drawings into scalable SVG vectors.
- PNG to JPGTurn PNG images into smaller JPG files.
- JPG to PNGConvert JPG photos to lossless PNG images.
- WebP to JPGConvert WebP images from websites into JPG.
- JPG to WebPMake website images smaller by converting to WebP.
- Passport & ID Photo MakerCrop a photo to 35 × 45 mm or other ID sizes and get a 10 × 15 cm print sheet.
- Resize Image for Instagram & Social MediaFit photos to Instagram, Story, YouTube, X, Facebook and LinkedIn sizes.
- Remove BackgroundRemove the background from a photo with AI and download a transparent PNG.
- Add WatermarkAdd your name or website as a watermark to your photos, in bulk and for free.
- Collage MakerCombine several photos into one image: grid, side by side or stacked.
- AI Image UpscalerEnlarge photos 2× or 4× with AI, e.g. 720p to 1080p, sharper than normal resizing.
- Magic EraserPaint over unwanted objects or people and AI removes them.
- Blur FacesAutomatically blur or pixelate faces in photos.
- Blur BackgroundPortrait mode: blur the background behind people with AI.
- Photo to SketchTurn a photo into a pencil drawing.
- Meme GeneratorAdd classic top and bottom meme text to your own image.
- Batch Rename PhotosRename many photos at once with sequential numbers: holiday-01, holiday-02…
- Poster Maker (Split Photo into A4 Pages)Split one photo into A4 pages and print a giant poster at home.
- Rotate & FlipRotate photos 90°, 180° or flip them like a mirror.