This API allows users to pull any random hex, random hexes within a specific color, and random hexes within a specific shade of a color.
The colors in this API are sorted mathematically, not visually. This means that the sorting is based on the hexidecimal values meaning colors in a specific category may not look like they belong to that category to your eyes.
Endpoint: /api/color/random
Method: GET
This endpoint returns a random hex from any category and subcategory.
/api/color/random
{
"color": "red",
"shade": "Light",
"hex": "#FC6C6C"
}
Endpoint: /api/color/random/:color
Method: GET
/api/color/random/red
{
"color": "red",
"shade": "Normal",
"hex": "#FF0000"
}
Endpoint: /api/color/random/:color/:shade
Method: GET
/api/color/random/red/light
{
"color": "red",
"shade": "Light",
"hex": "#FC6C6C"
}
For support, email [email protected]