generate_palette
Build a color palette from a base color using harmony types like analogous, complementary, or triadic. Generates readable swatches and filters disliked colors so agents can pick usable schemes.
Instructions
Generate a color palette using color theory harmonies (monochromatic, analogous, complementary, split-complementary, triadic, tetradic, square, compound, shades-and-tints). Defaults to perceptual HCT space, avoids universally disliked colors, and describes each swatch so agents can see what was generated.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"baseColor": "<baseColor>"
},
"name": "generate_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Type of color harmony | analogous |
| count | No | Number of colors to generate | |
| space | No | Wheel space: 'hct' (perceptual default), 'oklch' (CSS perceptual), 'ryb' (painter's red-yellow-blue wheel), or 'hsl' | hct |
| baseColor | Yes | Base color for palette generation | |
| allowDisliked | No | Allow dark yellow-green 'bile zone' colors (default false) | |
| includeDetails | No | Include perceptual name, temperature, tone, and best text ink for each swatch |