Get predominant colors for any image.

Powered by microlink logo Microlink.io

What is Splashy?

Splashy is a tiny library for getting predominant colors for any image, an image focusing on speed and compability.

The source code is available on GitHub.

It's supports more than 20 file formats, check benchmark.

How to use Splashy?

Splashy is available in the npm registry; any Node.js project can use it:

npm install splashy --save

You can also use it via Microlink API.

Why use Microlink API?

Splashy relies into libvips, meaning the system needs to be provisioned in order to support all the images formats.

Microlink API is already provisioned and ready to be used passing `palette` query parameter:

// all the images detected will be returns palette
fetch('https://api.microlink.io?url=https://example.com&palette')
  .then(res => res.json())

We recommend to consume splashy from Microlink API.

Is Microlink free to use?

Microlink API has a forever free endpoint you can use.

The free plan runs under some limitation to avoid abusive usage of the platform, like burst rate, limited concurrency rate and daily rate limit.

The free plan should be enough for little projects or low API quota.