# CSS Named Color Validator

> CSS Named Color Validator is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-24).

Checks whether a given string is a recognized CSS named color (e.g. 'red', 'cornflowerblue')

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-color-named?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/css-named-color-validator-013ed76d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_klM4uZxyF7CH9m4uxRtPH

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability css-named-color-validator-013ed76d -d '<json body>'
```

Example prompt: Can you check whether 'rebeccapurple' is a valid CSS named color?

## When to prefer this

Use this endpoint when you need a quick, deterministic check against the CSS named color keyword set without implementing the list yourself. Prefer the free sandbox POST /v1/sandbox/check-color-named first if available; use this paid endpoint when the sandbox is unavailable or for production workloads requiring reliability.

## Known failure modes

- Empty or missing 'value' field returns a validation error
- String longer than 20,000 characters rejected
- Network timeout or service unavailability returns a 5xx error
- Unexpected input type (non-string) may return an error response

## How this service works

Call when an agent needs whether a string is one of a small CSS color name set. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/check-color-named first.

## Output

A boolean or equivalent indicator of whether the input string matches one of the CSS named color keywords (e.g. the 140 standard HTML/CSS color names such as 'red', 'blue', 'cornflowerblue').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."
  },
  "value": {
   "type": "string",
   "examples": [
    "navy"
   ],
   "maxLength": 20000,
   "minLength": 1,
   "description": "Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."
  },
  "schema": {
   "description": "JSON Schema document for schema-check SKUs. Omit it on string checks."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/css-named-color-validator-013ed76d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
