Cast a brand's colours into the parts of the theme
Answers which of the colours you send should be the accent, the dark-mode accent, the text and the card colour, and how strongly the page behind the cards should be tinted with the accent - the parts the editor derives both palettes from.
https://YOUR-NETWORK-DOMAIN/rest-api/white-label/brand-palette/polish.do Answers which of the colours you send should be the accent, the dark-mode accent, the text and the card colour, and how strongly the page behind the cards should be tinted with the accent - the parts the editor derives both palettes from. It never answers a finished theme: the editor builds the palette from these parts and adjusts every colour until it clears its WCAG contrast floor, exactly as it does for the palette it builds without asking anyone. Use it when the palette built from the colour values leads with the wrong one of them - a decorative colour listed first - or tints the page too strongly. Always a model call, billed like an AI assistant call. Nothing is saved: the theme is stored only when the operator saves it. Requires the WHITE_LABEL admin permission, and an Anthropic key for the readings that need the model: the user's own, the network's, or Epom's while the network's plan includes it.
Form Params
colors string required
The brand's colours as hex values, in the brand's own order of importance, the primary first; up to 12 are read
#ccff00, #34d499, #0c9488 roles string
The brand's own word for each colour, in the same order and comma-separated - what it calls them and what it uses them for, where it says
Highlight, Mint, Deep teal Responses
200
{accent, darkAccent, ink, paper, pageTint, note}
400
Field errors under 'errors': no colour value in colors (errors.colors), or the model answered nothing that can be cast (errors.document)
401
Authentication error
403
Insufficient permissions, naming the missing one
429
This month's AI budget is spent
503
No Anthropic key is set up, or the model could not be reached or answered something that cannot be read; try again