/v1/distance
Delta-E between two 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/colordelta-api/v1/distance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/colordelta-api/v1/distance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/colordelta-api/v1/distance");
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/colordelta-api/v1/distance",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"delta_e_76": 6.38049,
"delta_e_94": 3.64434,
"color_a_lab": [
53.2408,
80.0925,
67.2032
],
"color_b_lab": [
49.7178,
76.0173,
63.7838
],
"perceptible": "yes (>1 just-noticeable difference)",
"delta_e_2000": 3.62598
},
"meta": {
"timestamp": "2026-06-03T17:42:10.968Z",
"request_id": "91da3b12-51cc-4e26-8360-4893fe05a705"
},
"status": "ok",
"message": "Color distance",
"success": true
}