generate_palette
Create a tonal 50–900 color palette from a seed hex for consistent design tokens and styles. Export as paint styles, variables, or a labeled swatch frame.
Instructions
Generate a tonal 50..900 palette (default 10 steps) from a seed hex color. Light steps mix toward white, dark steps toward black. Optionally creates paint styles (createStyles=true), COLOR variables in a ' Tokens' collection (createVariables=true), and a swatch frame with labeled rectangles (createFrame=true).
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": {
"hex": "<hex>"
},
"name": "generate_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | ||
| hex | Yes | ||
| name | No | ||
| steps | No | ||
| prefix | No | ||
| createFrame | No | ||
| swatchWidth | No | ||
| createStyles | No | ||
| parentNodeId | No | ||
| swatchHeight | No | ||
| createVariables | No |