Palette
ps_paletteCreate color palettes by generating harmonies from a base color, extracting dominant colors from images, selecting curated palettes by mood, or retrieving official brand palettes.
Instructions
Generate and work with color palettes. Four actions: "generate" — create a harmony from a base hex color; "from-mood" — pick a curated palette for a design mood; "from-image" — extract dominant colors from the active document/layer; "from-brand" — return the official palette for a known brand (jaipuria, rentdraft).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Palette action | |
| baseColor | No | Hex color like #542864 — required for generate | |
| harmony | No | Harmony type for generate. Omit to return all 5 types. | |
| mood | No | Mood for from-mood: professional, elegant, cyberpunk, vintage, bold, minimal, playful, luxury, natural, energetic, warm, cool | |
| variant | No | Palette variant 0-2 for from-mood. Omit for random. | |
| layerName | No | Layer name to sample from for from-image | |
| brand | No | Brand name for from-brand: jaipuria, rentdraft |