generate_color_palette
Generate an accessible color palette from a base color, including primary, secondary, neutral, and semantic colors with WCAG-compliant variations. Supports harmony types and optional neutrals.
Instructions
Generate accessible color palette from a base color. Returns primary, secondary, neutral, and semantic colors with WCAG-compliant variations.
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": {
"base_color": "<base_color>"
},
"name": "generate_color_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_color | Yes | Base color (hex, rgb, or color name) | |
| harmony_type | No | Color harmony type to generate | analogous |
| include_neutrals | No | Include grayscale neutrals |