# klymax402 Color Palette Generator

> klymax402 Color Palette Generator is a paid API for AI agents from klymax402.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Generates a color palette of 1–10 colors from a base hex color using a specified color harmony scheme, returning hex values and CSS variables.

## Facts

- Endpoint: GET https://klymax402.com/api/color-palette/api/palette
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/klymax402-color-palette-generator-0ee5b38f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__isc9jZmnH7UdvVeedyKK

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 klymax402-color-palette-generator-0ee5b38f
```

Example prompt: Can you generate a triadic color palette with 6 colors starting from #3A86FF and give me the CSS variables for it?

## When to prefer this

Choose this endpoint when you need algorithmically correct color harmonies (complementary, analogous, triadic, split-complementary, tetradic) derived from a specific hex code, with CSS variables output included — especially useful in design automation pipelines or when building UI themes without needing a full design tool. It is a good fit for agents doing frontend code generation or branding tasks at minimal cost ($0.003/call) without requiring separate API key management.

## Known failure modes

- Invalid or malformed hex color string returns an error or empty palette
- Count exceeding 10 may be capped or return an error
- Unsupported scheme name returns an error or falls back to default complementary scheme
- Missing base color parameter causes a 400-level error
- Payment not processed (x402 flow failure) results in 402 response before generation occurs

## How this service works

One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.

## Output

Returns a JSON object containing the base color, the requested scheme name, the count of colors, an array of hex color strings, and a CSS variables string ready to paste into a stylesheet.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "color": {
   "type": "string",
   "description": "Base hex color (e.g. #FF5733 or FF5733)"
  },
  "count": {
   "type": "number",
   "description": "Number of colors to generate (default: 5, max: 10)"
  },
  "scheme": {
   "type": "string",
   "description": "Color scheme: complementary, analogous, triadic, split-complementary, tetradic (default: complementary)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "colors": [],
  "scheme": "example",
  "baseColor": "example",
  "cssVariables": "example"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/klymax402-color-palette-generator-0ee5b38f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from klymax402.com](https://www.zero.xyz/host/klymax402.com/llms.txt)
