Image Tools

Image Color Picker

Extract dominant colors and generate a color palette with hex codes, RGB values, and percentages from any uploaded image.

Run tool

Extract dominant colors and generate structured palettes from your graphics, photos, or digital artwork. Upload an image file, select how many color swatches you want, and the tool evaluates pixel distribution across the canvas.

Before frequency analysis, the processing engine converts uploaded image data to standard RGB mode and resizes the picture to a 150 by 150 pixel grid. This consistent sample size allows the analyzer to compute distinct color frequencies efficiently. For each dominant shade identified, you receive a lowercase hexadecimal color code, the corresponding RGB values, the raw pixel tally, and the proportional coverage percentage rounded to two decimal places.

The output report also provides the original image dimensions alongside the overall count of unique colors found during evaluation. You can request up to 10 distinct dominant swatches to match branding palettes, check background tones, or prepare CSS stylesheets for web design projects.

Instructions

  1. Select and upload an image file using the Image Data control.
  2. Specify the desired number of dominant color swatches in the Num Colors field (default is 5, with a maximum of 10 returned).
  3. Run the tool to process the image pixels and extract the dominant color values.
  4. Inspect the resulting palette table to copy hexadecimal codes, RGB triplets, and coverage percentages.

Examples

  • Upload a 1200x800 photograph with the color count set to 3. The tool resizes the image for analysis and outputs the top 3 dominant colors with their hex codes, RGB triplets, and percentage coverage, along with the original 1200x800 dimensions.
  • Upload a company logo with the color count set to 5. The tool processes the graphic and lists the 5 most frequent colors, such as #ffffff at 62.40% and #0055aa at 28.15%, plus the total count of distinct colors found.

FAQ

How many dominant colors can the tool extract from one image?

You can specify any number in the input field, but the output provides up to 10 dominant colors based on the most common pixel frequencies.

Why does the color percentage not match full pixel-by-pixel counts?

The tool resizes the uploaded graphic to 150 by 150 pixels and converts it to RGB mode before calculating pixel frequencies, which provides fast and consistent palette extraction.

What formats can I upload for palette extraction?

You can upload standard raster image formats. If the file is unreadable or corrupted, the tool indicates that the image data could not be processed.

Embed this tool

Add this working SmartPlusLab tool to your website with the code below.