Solve a chart palette
solve_paletteGenerate a categorical chart palette of n colors (1-12) that maximizes perceptual separation under normal vision and colorblindness, with the given brand colors locked as anchors in slot order. Returns the palette, the worst pair distances, the engine's relaxation notes, a full accessibility audit against the background, and a link to open it in the app. Honest cap is 6 slots; above that the result says so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Number of categorical slots | |
| grid | No | Gridline color; defaults to a light or dark gray to match the background | |
| anchors | No | Brand or required colors, kept exactly, in slot order (CSS syntax) | |
| posture | No | kpi: few strong colors; comparative: balanced; exploratory: many muted | comparative |
| background | No | Chart background color | #ffffff |