M Palette

Generate a full 50-950 shade palette from a single hex color. 11 perceptually uniform shades via HSL interpolation.

dragoon0x ad29708 600 B Updated

File contents

/m-palette — Palette Generator

Given one hex:\n1. Map to 500 stop\n2. Generate lighter stops (50-400): increase lightness, decrease saturation\n3. Generate darker stops (600-950): decrease lightness, shift hue toward blue\n4. 50 = near-white with hue tint, 950 = near-black with hue tint\n\nAlso generate a tinted neutral palette (gray with brand hue at 6% saturation).\n\nOutput CSS custom properties and contrast ratios against white/black.

dragoon0x/meridian/tree/main/source/skills/m-palette commit ad29708cda

Frequently asked questions

npx skillmds@latest add dragoon0x/m-palette