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).
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 |