The Color Api Getcolorscheme Example is an example object payload from The Color API, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
requestresponse
Example Payload
{
"request": {
"method": "GET",
"url": "https://www.thecolorapi.com/scheme?hex=0047AB&mode=analogic&count=4",
"parameters": {
"hex": "0047AB",
"mode": "analogic",
"count": 4
}
},
"response": {
"mode": "analogic",
"count": 4,
"colors": [
{
"hex": { "value": "#0047AB", "clean": "0047AB" },
"rgb": { "r": 0, "g": 71, "b": 171, "value": "rgb(0, 71, 171)" },
"hsl": { "h": 215, "s": 100, "l": 34, "value": "hsl(215, 100%, 34%)" },
"name": { "value": "Cobalt Blue", "closest_named_hex": "#0047AB", "exact_match_name": true, "distance": 0 }
},
{
"hex": { "value": "#0079AB", "clean": "0079AB" },
"rgb": { "r": 0, "g": 121, "b": 171, "value": "rgb(0, 121, 171)" },
"hsl": { "h": 199, "s": 100, "l": 34, "value": "hsl(199, 100%, 34%)" },
"name": { "value": "Cerulean Blue", "closest_named_hex": "#2A52BE", "exact_match_name": false, "distance": 21 }
},
{
"hex": { "value": "#000FAB", "clean": "000FAB" },
"rgb": { "r": 0, "g": 15, "b": 171, "value": "rgb(0, 15, 171)" },
"hsl": { "h": 235, "s": 100, "l": 34, "value": "hsl(235, 100%, 34%)" },
"name": { "value": "Darkblue", "closest_named_hex": "#00008B", "exact_match_name": false, "distance": 16 }
},
{
"hex": { "value": "#0000AB", "clean": "0000AB" },
"rgb": { "r": 0, "g": 0, "b": 171, "value": "rgb(0, 0, 171)" },
"hsl": { "h": 240, "s": 100, "l": 34, "value": "hsl(240, 100%, 34%)" },
"name": { "value": "Dark Blue", "closest_named_hex": "#00008B", "exact_match_name": false, "distance": 21 }
}
],
"seed": {
"hex": { "value": "#0047AB", "clean": "0047AB" },
"rgb": { "r": 0, "g": 71, "b": 171, "value": "rgb(0, 71, 171)" },
"hsl": { "h": 215, "s": 100, "l": 34, "value": "hsl(215, 100%, 34%)" },
"name": { "value": "Cobalt Blue", "closest_named_hex": "#0047AB", "exact_match_name": true, "distance": 0 }
},
"image": {
"bare": "https://www.thecolorapi.com/scheme?format=svg&named=false&hex=0047AB&mode=analogic&count=4",
"named": "https://www.thecolorapi.com/scheme?format=svg&hex=0047AB&mode=analogic&count=4"
},
"links": {
"self": {
"href": "https://www.thecolorapi.com/scheme?hex=0047AB&mode=analogic&count=4"
}
}
}
}
Work with this as data
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/the-color-api-getColorScheme-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.