Generate luminance-based palettes
generate_paletteGenerate a grayscale luminance scale and matching palettes for each base color, preserving hue and saturation per shade, with swatches and a share link for consistent design-system colors.
Instructions
Generate a grayscale luminance scale plus one palette per base color, exactly as grayscale.design/app does. Each shade matches the grayscale shade's luminance while keeping the base hue and saturation. Returns every swatch (label, hex, rgb, hsl, oklch, luminance) and a share link that opens the same palette on the site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lums | No | Custom luminance targets (0-100, WCAG relative luminance x100), lightest first. Same as dragging the site sliders. | |
| count | No | Number of shades (site +/- buttons, 3-20). | |
| colors | No | Base colors, one palette each. | |
| preset | No | Luminance preset from the site menu: default (12 shades, 50-1100), tailwind (11 shades, 50-950), radix (12 steps), or bell/linear/dark/light which redistribute the current min..max range. | |
| share_url | No | A grayscale.design/app?... share link to load instead of colors/lums. |