# Color Palette Generator: Harmonies and Shades

> Color Palette Generator: Harmonies and Shades is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Generates a full color palette from a single hex color, including complementary, analogous, triadic, split-complementary, and tetradic harmonies plus six light-to-dark shades, all returned as hex codes with HSL values.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/color/palette?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-color-palette-generator-46a37c98
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eAuvEwuviNS8W6i5Ryajm

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 agent-data-tools-revmesh2074-workers-dev-color-palette-generator-46a37c98
```

Example prompt: Can you build me a complete color palette from #3366ff — I need the complementary, analogous, triadic, and tetradic harmonies plus a range of shades from light to dark, all as hex codes?

## When to prefer this

Choose this endpoint when you need to derive a harmonious set of colors from a single known hex value — especially for UI theming, brand kit creation, chart color schemes, or slide deck design. It is superior to manual HSL math or generic color tools when you need all major harmony types plus a shade ramp in a single call. For checking whether two specific colors have sufficient contrast for readability, use the color_contrast endpoint instead.

## Known failure modes

- Invalid or malformed hex color (e.g. missing # without short-form, letters outside 0-9A-F) returns an error
- Missing required 'color' parameter returns a 400-level error
- Edge case: pure white (#ffffff) or pure black (#000000) may yield degenerate shades with no visible variation

## How this service works

Build a colour palette from one hex colour: complementary, analogous, triadic, split-complementary and tetradic harmonies (hue rotations at the same saturation and lightness), plus six shades from light to dark, all as hex codes, with the base colour's HSL. Use for UI themes, charts, brand kits or slide decks; to check text readability on a colour use color_contrast.

## Output

Returns a JSON object containing: the base hex color, its HSL breakdown (h, s, l), arrays of hex codes for complementary, analogous, triadic, split-complementary, and tetradic harmonies, and a shades array of six hex codes ranging from light to dark — all computed at the same saturation and lightness as the base color.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "color"
 ],
 "properties": {
  "color": {
   "type": "string",
   "description": "Base colour as hex, such as #3366ff or 36f"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hsl": {
   "type": "object",
   "properties": {
    "h": {
     "type": "number"
    },
    "l": {
     "type": "number"
    },
    "s": {
     "type": "number"
    }
   }
  },
  "base": {
   "type": "string"
  },
  "shades": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "triadic": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "tetradic": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "analogous": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "complementary": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "splitComplementary": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-color-palette-generator-46a37c98/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
