Pass in any valid color and get conversion into any other format, the name of the color, placeholder images and a multitude of schemes.
There are only two endpoints you need to worry about,
/scheme, and you can read the docs about both. Each endpoint is available in JSON[P], HTML & SVG format. The SVG format can be saved or used as an
img[src] attribute for super-easy embedding/sharing!
All you really need to do is access the
/id endpoint, and pass in a color value as a query string. Read the docs for more details, but all these are valid:
color object returned by the API
The parameters are generally the same as those necessary for the
/id endpoint (supply a color, like above), but here you can also specify a scheme mode to guide the generation.
Scheme modes include
scheme object returned by the API is seeded by the color of your request and can be any length you specify (within limits). It will also include a
color object for each constituent color.