# Themed Colour Palette Generator

> Themed Colour Palette Generator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Generates a harmonious, theme-specific colour palette sorted dark to light, returning hex codes and a PNG swatch image.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/palette?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/themed-colour-palette-generator-abf5e6e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iYWn84gSVqBx2c1KOA_ln

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 themed-colour-palette-generator-abf5e6e4 -d '<json body>'
```

Example prompt: Generate a lava-themed colour palette with 8 colours, sorted dark to light — give me the hex codes and a PNG swatch.

## When to prefer this

Choose this endpoint when you need a pre-curated, theme-specific colour palette for game design, UI theming, or creative projects, especially when you want a harmonious set sorted dark to light with a visual PNG swatch. Ideal when a named mood/theme (medieval, forest, desert, ice, lava, night, candy) maps directly to your creative context.

## Known failure modes

- Invalid mood value not in enum returns validation error
- Count outside 3-16 range rejected with schema error
- Seed string causing unexpected generation edge cases
- Payment failure via x402 protocol prevents call
- Network timeout on PNG image generation

## How this service works

Themed colour palette: A harmonious colour palette for a theme (medieval, forest, desert, ice, lava, night, candy, random), sorted dark to light. Returns hex codes plus a PNG swatch.

## Output

Returns a sorted list of hex colour codes (dark to light) matching the requested theme, along with a PNG swatch image visualising the palette. The number of colours matches the requested count (default 6, range 3-16).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mood": {
   "enum": [
    "medieval",
    "forest",
    "desert",
    "ice",
    "lava",
    "night",
    "candy",
    "random"
   ],
   "type": "string",
   "default": "medieval"
  },
  "seed": {
   "type": "string"
  },
  "count": {
   "type": "integer",
   "default": 6,
   "maximum": 16,
   "minimum": 3
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/themed-colour-palette-generator-abf5e6e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
