/v1/kelvin
Kelvin to RGB
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/colortemp-api/v1/kelvin" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/colortemp-api/v1/kelvin", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/colortemp-api/v1/kelvin");
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/colortemp-api/v1/kelvin",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"css": "rgb(255, 167, 87)",
"hex": "#ffa757",
"rgb": {
"b": 87,
"g": 167,
"r": 255
},
"kelvin": 2700,
"description": "warm white (incandescent)"
},
"meta": {
"timestamp": "2026-06-03T09:25:00.119Z",
"request_id": "9da7d942-55ba-44a4-a787-6f2039507e5d"
},
"status": "ok",
"message": "Kelvin to RGB",
"success": true
}