# Color Palette Generator API

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

Generates a color palette of related colors from a base hex color using various color theory schemes

## Facts

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

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 color-palette-generator-api-e0c00f79
```

Example prompt: Can you generate an analogous color palette with 7 colors based on the hex color #3A86FF?

## When to prefer this

Use this endpoint when you need to derive a harmonious set of colors from a single known base hex color using standard color theory rules. Ideal for design tooling, theme generation, brand kit creation, or any scenario where you need programmatic color relationships rather than manual selection. Prefer this over manual color pickers when building automated design pipelines.

## Known failure modes

- Invalid hex color format returns an error — ensure color is a valid 3 or 6 digit hex value with or without #
- Count exceeding 10 may be clamped or rejected
- Invalid scheme name returns an error — must be one of: complementary, analogous, triadic, split-complementary, tetradic
- Missing base color parameter results in a 400-level error
- Network or service unavailability returns a 5xx error

## How this service works

Generate a color palette from a base hex color

## Output

A set of hex color codes forming a color palette derived from the input base color, sized according to the requested count and arranged according to the specified color theory scheme (complementary, analogous, triadic, split-complementary, or tetradic).

## 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)"
  }
 }
}
```

## More

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