APImcp
GuidesMedia & Images
ConsoleDocsMCP
Media & Images ⏱ 1 min read

Image Color Palette API — Extract the Dominant Color Palette from Any Image

Extract the dominant color palette from any image. Get hex colors, RGB values, and color names for design and branding. Free API.

01

What is Image Color Palette Extraction?

Color palette extraction analyzes an image and identifies its dominant colors. The API returns hex codes, RGB values, and approximate color names for the most prominent colors in the image. Useful for design automation, brand color extraction, and creating color schemes from reference images.

02

How to Use It

Call GET /api/v1/image-palette?url=https://example.com/image.jpg. Returns { colors: Array<{ hex: string, rgb: [number,number,number], name: string, percentage: number }>, total_colors: number }.

Try it live Test this endpoint in the interactive console
Open Console →

Frequently Asked Questions

How many colors are extracted?
The API extracts 5-10 dominant colors depending on the image's color variety.