᠎᠎᠎          
51K

Bitmap Palette Extractor

World's simplest bitmap tool
This is a free and fast online utility that extracts a visual color palette from a BMP image. You can use the configuration options (below) to group similar tones or keep exact pixel colors, choose the number of swatches, and set the order in which they appear. Extra options allow you to display a hexadecimal or RGB code on each swatch, show the percentage of the image that uses each extracted color, and copy all palette codes as text. Created by graphics designers from team Browserling.
we have a comic! comic for nerds
We have created our own comic! Check it out! New comics every week.
Bitmap Color Sampling
Blend related BMP shades into representative dominant colors.
Count distinct pixel values and select the most frequent ones.
Palette Layout
Set how many bitmap colors appear in the result.
Choose the order used to stack the extracted colors.
Swatch Details
Select the notation printed on every palette strip.
Show what percentage of the BMP is represented by each color.
Copyable Palette Codes
Copy the generated color codes from this text box.

What is a Bitmap Palette Extractor?

learn more about this tool
This free online browser-based program finds the colors used in a BMP image and creates a clear palette from them. Instead of picking colors from the bitmap by eye, you can let the program count them and display the selected tones as stacked swatches in a separate image. You can extract colors in two ways. The average-colors mode gathers nearby shades into color families, which gives you a compact overview of the bitmap's visual character even when the image contains gradients, antialiasing, or photographic detail. The exact-colors mode keeps pixel values separate and reports the individual colors that occur most often, which is useful for inspecting icons, sprites, diagrams, and other artwork with a controlled set of tones. You can enter any palette length you need and arrange the result by pixel frequency, rainbow sequence, reverse rainbow sequence, rising lightness, or falling lightness. For identification, each swatch can stay clean or display its hexadecimal or RGB code. The percentage option shows how much of the image uses each extracted color, so you can quickly see which colors are common and which appear only a little. A text version of the finished palette is also placed in the options area so the codes can be copied directly into a stylesheet or drawing program. The generated palette can also be saved as a separate image. Bmp-abulous!

Bitmap Palette Extractor examples

Click to use
Extract an Average Bitmap Palette
In this example, we load a BMP image of a colorful tulip wreath on a bright yellow background and extract eight average color tones. The tool groups similar shades from the flowers, leaves, and background, and arranges the pink, yellow, brown, and green swatches in rainbow order. (Source: Pexels.)
In this example, we load a BMP image of a colorful tulip wreath on a bright yellow background and extract eight average color tones. The tool groups similar shades from the flowers, leaves, and background, and arranges the pink, yellow, brown, and green swatches in rainbow order. (Source: Pexels.)
In this example, we load a BMP image of a colorful tulip wreath on a bright yellow background and extract eight average color tones. The tool groups similar shades from the flowers, leaves, and background, and arranges the pink, yellow, brown, and green swatches in rainbow order. (Source: Pexels.)
Required options
These options will be used automatically if you select this example.
Blend related BMP shades into representative dominant colors.
Set how many bitmap colors appear in the result.
Choose the order used to stack the extracted colors.
Select the notation printed on every palette strip.
Show what percentage of the BMP is represented by each color.
Extract Exact Bitmap Tones
In this example, we find twelve exact pixel colors in a BMP photo of an icy lake and arrange them from lightest to darkest. The most common exact color is #ddebf4, yet it appears in just 0.36% of the pixels. Such small percentages show that the photo contains many distinct tones and smooth color transitions across the sky, snow, and ice. Each swatch includes its hex code and usage percentage. (Source: Pexels.)
In this example, we find twelve exact pixel colors in a BMP photo of an icy lake and arrange them from lightest to darkest. The most common exact color is #ddebf4, yet it appears in just 0.36% of the pixels. Such small percentages show that the photo contains many distinct tones and smooth color transitions across the sky, snow, and ice. Each swatch includes its hex code and usage percentage. (Source: Pexels.)
In this example, we find twelve exact pixel colors in a BMP photo of an icy lake and arrange them from lightest to darkest. The most common exact color is #ddebf4, yet it appears in just 0.36% of the pixels. Such small percentages show that the photo contains many distinct tones and smooth color transitions across the sky, snow, and ice. Each swatch includes its hex code and usage percentage. (Source: Pexels.)
Required options
These options will be used automatically if you select this example.
Count distinct pixel values and select the most frequent ones.
Set how many bitmap colors appear in the result.
Choose the order used to stack the extracted colors.
Select the notation printed on every palette strip.
Show what percentage of the BMP is represented by each color.
Build a Compact Building Palette
In this example, we create a compact four-color palette from a BMP photo of a bright building facade. The turquoise wall, sandy yellow facade, and red door occupy similar portions of the image at about 28%, 27%, and 25%, respectively. Dark brown details appear a little less often at nearly 19%. The palette makes this balance easy to compare by printing each RGB value beside its percentage. (Source: Pexels.)
In this example, we create a compact four-color palette from a BMP photo of a bright building facade. The turquoise wall, sandy yellow facade, and red door occupy similar portions of the image at about 28%, 27%, and 25%, respectively. Dark brown details appear a little less often at nearly 19%. The palette makes this balance easy to compare by printing each RGB value beside its percentage. (Source: Pexels.)
In this example, we create a compact four-color palette from a BMP photo of a bright building facade. The turquoise wall, sandy yellow facade, and red door occupy similar portions of the image at about 28%, 27%, and 25%, respectively. Dark brown details appear a little less often at nearly 19%. The palette makes this balance easy to compare by printing each RGB value beside its percentage. (Source: Pexels.)
Required options
These options will be used automatically if you select this example.
Blend related BMP shades into representative dominant colors.
Set how many bitmap colors appear in the result.
Choose the order used to stack the extracted colors.
Select the notation printed on every palette strip.
Show what percentage of the BMP is represented by each color.
All bitmap tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly convert an opaque bitmap to a transparent bitmap.
Quickly substitute one color for another in a bitmap.
Quickly find all colors in a bitmap and extract them.
Quickly turn a color bitmap into a grayscale bitmap.
Quickly blur an area of a bitmap.
Quickly sharpen an area of a bitmap.
Quickly pixelate an area of a bitmap.
Quickly create a bitmap file from random, colorful pixels.
Quickly change the width/height of a bitmap.
Quickly select a region from a bitmap.
Quickly rotate a bitmap by any angle.
Quickly add a border around or inside a bitmap.
Quickly delete a border that surrounds a bitmap.
Quickly animate a bitmap sprite sheet.
Quickly convert a BMP file to the base-64 encoding.
Quickly convert base-64 encoding to a BMP file.
Coming soon These bitmap tools are on the way
Edit and Draw Bitmaps
Create and edit bitmaps in your browser.
Compress a Bitmap
Make a bitmap smaller in size.
Uncompress a Bitmap
Convert a compressed bitmap to a raw RGB pixel bitmap.
Convert RGB Bitmap to BGR Bitmap
Convert BMP colors in RGB order to BGR order
Convert BGR Bitmap to RGB Bitmap
Convert BMP colors in BGR order to RGB order
Change Bitmap Depth
Change the number of bits per pixel of a bitmap.
Swirl a Bitmap
Create a swirl of any radius in a bitmap.
Make Bitmap Black and White
Reduce all bitmap colors to just black and white.
Merge Bitmaps
Join two or more bitmaps together.
Overlay Bitmaps
Place two or more bitmaps on top of each other.
Split a Bitmap
Split a bitmap into multiple independent bitmaps.
Extract a Bitmap Fragment
Extract one or more selected areas from a bitmap.
Duplicate a Bitmap
Make copies of bitmaps and paste them together.
Skew a Bitmap
Skew a bitmap by an arbitrary angle.
Shift a Bitmap
Shift a bitmap to the left or right.
Flip a Bitmap Vertically
Turn a bitmap upside-down.
Flip a Bitmap Horizontally
Make a mirror copy of a bitmap.
Convert Bitmap to Byte Array
Create a byte array from a BMP image.
Convert Byte Array to Bitmap
Create a BMP from a byte array.
Convert Bitmap to Webp
Convert a BMP to a Webp.
Convert Webp to Bitmap
Convert a Webp to a BMP.
Convert Bitmap to PNG
Convert a BMP to a PNG.
Convert PNG to Bitmap
Convert a PNG to a BMP
Convert Bitmap to JPEG
Convert a BMP to a JPG.
Convert JPEG to Bitmap
Convert a JPG to a BMP.
Convert Bitmap to BPG
Convert a BMP to a BPG.
Convert BPG to Bitmap
Convert a BPG to a BMP.
Convert GIF to Bitmap
Save GIF frames as BMP images.
Convert BMP to GIF
Convert a bitmap to a single-frame GIF.
Convert Bitmap to Data URI
Create a Data URL scheme of a bitmap.
Convert Data URI to Bitmap
Convert a Data URL scheme back to a bitmap image.
BitBlt Bitmaps
Bit Blit two or more BMPs.
Replace Bitmap Color Index
Put a new color table in a BMP.
Print Bitmap Color Index
Extract the color table of a BMP.
Print Raw Bitmap Pixels
Extract raw RGB pixels from a BMP and print them out as text.
Convert Raw RGB to BMP
Create a bitmap image from raw RGB pixels.
Randomize Bitmap Color Index
Randomly rearrange colors in the BMP color table.
Optimize a Bitmap
Reduce a BMP's memory footprint.
Destroy a BMP
Destroy parts of a bitmap and make it glitchy.