Sports Color Codes

Color Palette Generator from Image

Use this color palette generator to pull representative colors from a photo or graphic and copy their HEX or RGB values.

Your image

Or drop a PNG, JPG, WebP, GIF, or BMP up to 20 MB here. Your image stays in your browser.

Image palette

Choose an image to generate a palette.

How to use the color palette generator

Load an image and choose the number of colors you want to extract. A small palette gives you a few broad colors to work with. Ask for more swatches when you want to keep subtler shades from a photo, such as a highlight or a shadow.

The tool groups similar pixels and skips fully transparent areas. The swatches summarize the image, so a particular logo or small detail can have a different value. Copy HEX or RGB for an individual swatch, or use Copy palette for the full list of HEX codes.

Color palette generator example with a three-color image and the extracted blue #003594, red #C6344C, and gold #FFB81C swatches.

Paste your copied HEX codes into a design tool or use them as HEX colors in CSS.