/v1/list
List named colours
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/colorname-api/v1/list" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/colorname-api/v1/list", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/colorname-api/v1/list");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/colorname-api/v1/list",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 148,
"colors": [
{
"hex": "#f0f8ff",
"rgb": [
240,
248,
255
],
"name": "aliceblue"
},
{
"hex": "#faebd7",
"rgb": [
250,
235,
215
],
"name": "antiquewhite"
},
{
"hex": "#00ffff",
"rgb": [
0,
255,
255
],
"name": "aqua"
},
{
"hex": "#7fffd4",
"rgb": [
127,
255,
212
],
"name": "aquamarine"
},
{
"hex": "#f0ffff",
"rgb": [
240,
255,
255
],
"name": "azure"
},
{
"hex": "#f5f5dc",
"rgb": [
245,
245,
220
],
"name": "beige"
},
{
"hex": "#ffe4c4",
"rgb": [
255,
228,
196
],
"name": "bisque"
},
{
"hex": "#000000",
"rgb": [
0,
0,
0
],
"name": "black"
},
{
"hex": "#ffebcd",
"rgb": [
255,
235,
205
],
"name": "blanchedalmond"
},
{
"hex": "#0000ff",
"rgb": [
0,
0,
255
],
"name": "blue"
},
{
"hex": "#8a2be2",
"rgb": [
138,
43,
226
],
"name": "blueviolet"
},
{
"hex": "#a52a2a",
"rgb": [
165,
42,
42
],
"name": "brown"
},
{
"hex": "#deb887",
"rgb": [
222,
184,
135
],
"name": "burlywood"
},
{
"hex": "#5f9ea0",
"rgb": [
95,
158,
160
…