🎨

Color Palette Extractor API

Extract dominant colors and generate beautiful palettes from any image or website. Returns colors in hex, RGB, and HSL formats.

API Endpoint

POST /v1/colors

Parameters

Name Type Required Description
urlstringYesImage or website URL to extract colors from
countintegerNoNumber of colors to extract (default: 5)

Quick Example

curl -X POST "https://api.toolcenter.dev/v1/colors" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/photo.jpg", "count": 6}'

Features

  • Extract dominant colors from images/URLs
  • Returns hex, RGB, and HSL values
  • Configurable palette size
  • Color naming and categorization
  • Works with images and website URLs

Use Cases

Generate color themes from brand images

Create palette suggestions for designers

Analyze color trends across websites

Auto-generate complementary color schemes

Start Using Color Palette Extractor API for Free

500 free API calls per month. No credit card required.

Get Started Free