Skip to content
GET /v1/meta

Spec

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/colorname-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/colorname-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/colorname-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/colorname-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "name": "Color Name API",
        "notes": "Uses the CSS Color Module Level 4 named-colour set. Distance is perceptual (Lab); 0 means an exact match. Nothing is stored.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/nearest",
                "params": {
                    "color": "hex, rgb(), r,g,b or a name (required)"
                },
                "returns": "the closest named colour, distance and whether it is exact"
            },
            {
                "path": "/v1/name",
                "params": {
                    "name": "a CSS colour name (required)"
                },
                "returns": "its hex and RGB"
            },
            {
                "path": "/v1/list",
                "params": [],
                "returns": "all named colours"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Find the nearest named CSS colour to any colour (perceptually, using CIE76 Lab distance), look up a CSS colour name to its hex/RGB, and list all 140+ named colours. Pure local, no key."
    },
    "meta": {
        "timestamp": "2026-06-03T01:09:43.811Z",
        "request_id": "ad97512e-9463-409d-972e-b6b0a9390ac9"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}