Convert Colors

FREEMIUM
By kkolma | Updated 16 days ago | Tools
Health Check

N/A

Followers: 2
Resources:
Product Website
API Creator:
K
kkolma
kkolma
Log In to Rate API
Rating: 5 - Votes: 1

README

The same color conversions as on https://convertingcolors.com are now available as API.

Like on the website, the conversions for values outside the valid range are set to the lowest / highest allowed number in this color format.

The response usually looks like:

{ "errors": [], "output": {}, "input": {}, }

If there is any error, the response code is 400; if there is an authentication error, the response is 401; otherwise, you will get a 200.

In the case of mass conversion, there might be only some colors that are in the wrong format; still, the status code 400 will be returned, but the output will contain the successful conversions.